package { "samba" <- there needs to be a colon there. Also, the ensure =>
present should have a comma, not a semicolon, since you have more
parameters. Also, the authconfig exec has two command params and is missing
a comma after the path param, and you are missing a closing double quote for
the net join exec title, and the pasth parameter should be path. I'm a
little obsessive about syntax. :)On Mon, Sep 12, 2011 at 7:51 AM, Raymond <[email protected]> wrote: > I am getting a error and do not understand why it is failing. There > output is below > > puppet apply /etc/puppetlabs/puppet/modules/authconfig/tests/init.pp - > vvvvvv --noop --debug > info: Loading facts in iptables > info: Loading facts in serve > info: Loading facts in serve > info: Loading facts in iptables > debug: Executing 'cd /etc/puppetlabs/puppet && git rev-parse HEAD' > debug: importing '/etc/puppetlabs/puppet/modules/authconfig/manifests/ > init.pp' in environment production > Could not match “samba” at /etc/puppetlabs/puppet/modules/authconfig/ > manifests/init.pp:3 > > I have looked all over and it seems my manifest entry is correct for > samba. What am I missing here? Below is my manifest. > class authconfig { > > package {“samba” > ensure => installed; > notify => exec[“ad_account”] > } > > exec { “ad_account”: > path => "/usr/bin:/usr/sbin:/bin", > command => “id blah”, > returns => 1, > notify => exec [ “authconfig”] > } > > exec { “authconfig” : > path => “/usr/bin:/usr/sbin:/bin” > command => “authconfig –blah –blah” > command => “net ads join -UAdministrator%password” > > } > > exec {“net join:: > pasth => “/usr/bin:/usr/sbin:/bin”, > command => “net ads join -UAdministrator%password” > } > > > service { winbind: > ensure => running, > } > } > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Adrien Thebo [email protected] -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
