examples: lang: Added os check for pkg example fix
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
|
import "os"
|
||||||
|
|
||||||
pkg "cowsay" {
|
pkg "cowsay" {
|
||||||
state => "installed",
|
state => "installed",
|
||||||
allowunsupported => true,
|
allowunsupported => os.is_debian() ?: true,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user