Dear Puppet-Users,
I'm currently stucking at a wired error message.
Below I've posted all important output.
When I run this configuration on the same machine or on an client I geht
the following error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
wrong number of arguments (1 for 2) at /etc/puppet/manifests/site.pp:2
[code]
puppet@de-dussmon2:/etc/puppet/manifests> puppet --version
2.6.18
[/code]
[code]
puppet@de-dussmon2:/etc/puppet/manifests> cat site.pp
node default {
include test
}
[/code]
[code]
puppet@de-dussmon2:/etc/puppet/manifests/modules/test/manifests> cat init.pp
class test{
case $::operatingsystem {
'SLES': {
$path_file = "/etc/puppet/testfile"
}
'windows': {
$path_file = "C:/testfile.txt"
}
}
file {'testfile':
path => $path_file,
ensure => file,
content => $operatingsystem,
}
}
[/code]
[code]
puppet@de-dussmon2:/etc/puppet/manifests/modules/test/manifests> puppet
master --configprint modulpath
/etc/puppet/manifests/modules
[/code]
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/b7a07d48-1106-4d48-8b36-a77fb3c89a3f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.