Skip to content

Commit

Permalink
Several new manifests from Magpie.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfagerlund committed Aug 5, 2011
1 parent efe86b2 commit 2660190
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion if_undef.pp
@@ -1,5 +1,5 @@
$default_servers = "default!"
if $ntp_servers == undef {
if !$ntp_servers {
$ntp_servers = $default_servers
}

Expand Down
8 changes: 8 additions & 0 deletions nonparamparams.pp
@@ -0,0 +1,8 @@
class foobunk ($foo) {
notify {"Foo is $foo":}
}

class {'foobunk':
foo => "declared in the declaration",
}

9 changes: 9 additions & 0 deletions site_27_variable_topscope_test.pp
@@ -0,0 +1,9 @@
node default {
$::myvar = "Hi There"
include myclass
}

class myclass {
$myvar = "You shouldn't see this"
notify { test: message => $::myvar }
}

0 comments on commit 2660190

Please sign in to comment.