file/manifest/init.pp is a class but its not yet included in the
templete so can be left alone as of now

and the file /tmp/resolve.conf dosent exist but still I am not getting
any output



On Jan 21, 3:46 am, Christopher McCoy <c.mcco...@gmail.com> wrote:
> Ok, so I'm looking at this again.
>
> what is in file/manifests/init.pp?
> you ran a puppet apply on it, but never showed us what is in it, so it
> could just be class file { }
>
> And lastly, does the file /tmp/resolv.conf already exist? If so you won't
> see anything output.
>
>
>
> On Fri, Jan 20, 2012 at 3:50 PM, bhagyesh <vision2...@gmail.com> wrote:
> > whenever i run a test from client it finishes sucessfully but client
> > is not getting any configuration changes from server
>
> > [root@PROXY-02 tmp]# puppetd --noop --test
> > notice: Ignoring --listen on onetime run
> > info: Caching catalog for proxy-02.carnation.in
> > info: Applying configuration version '1327091881'
> > notice: Finished catalog run in 0.02 seconds
>
> > [root@PROXY-03 modules]# puppet apply  file/manifests/init.pp -d
> > debug: Creating default schedules
> > debug: Failed to load library 'ldap' for feature 'ldap'
> > debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
> > debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/
> > dscl does not exist
> > debug: Puppet::Type::User::ProviderUser_role_add: file roledel does
> > not exist
> > debug: Puppet::Type::User::ProviderPw: file pw does not exist
> > debug: Failed to load library 'rubygems' for feature 'rubygems'
> > debug: Puppet::Type::File::ProviderMicrosoft_windows: feature
> > microsoft_windows is missing
> > debug: /File[/var/log/puppet/http.log]: Autorequiring File[/var/log/
> > puppet]
> > debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/
> > puppet]
> > debug: /File[/var/lib/puppet/ssl/certs/proxy-03.carnation.in.pem]:
> > Autorequiring File[/var/lib/puppet/ssl/certs]
> > debug: /File[/var/lib/puppet/ssl/private_keys/
> > proxy-03.carnation.in.pem]: Autorequiring File[/var/lib/puppet/ssl/
> > private_keys]
> > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
> > debug: /File[/var/lib/puppet/state/last_run_summary.yaml]:
> > Autorequiring File[/var/lib/puppet/state]
> > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/
> > puppet/ssl]
> > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/
> > var/lib/puppet/ssl]
> > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring
> > File[/var/lib/puppet/ssl]
> > debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/
> > lib/puppet/state]
> > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/
> > var/lib/puppet/ssl/certs]
> > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/
> > puppet]
> > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/
> > puppet]
> > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/
> > puppet/ssl]
> > debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/
> > puppet]
> > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/
> > lib/puppet/ssl]
> > debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/
> > lib/puppet]
> > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/
> > puppet/ssl]
> > debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/
> > var/lib/puppet/state]
> > debug: /File[/var/lib/puppet/ssl/public_keys/
> > proxy-03.carnation.in.pem]: Autorequiring File[/var/lib/puppet/ssl/
> > public_keys]
> > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> > debug: Finishing transaction 23780377254580
> > debug: Loaded state in 0.00 seconds
> > debug: Loaded state in 0.00 seconds
> > info: Applying configuration version '1327090832'
> > debug: Finishing transaction 23780377878220
> > debug: Storing state
> > debug: Stored state in 0.01 seconds
> > notice: Finished catalog run in 0.03 seconds
>
> > [root@PROXY-02 tmp]# puppetd --server PROXY-03.carnation.in --test --
> > noop --evaltrace
> > notice: Ignoring --listen on onetime run
> > info: Caching catalog for proxy-02.carnation.in
> > info: Applying configuration version '1327092221'
> > info: /Schedule[weekly]: valuated in 0.00 seconds
> > info: /Schedule[monthly]: valuated in 0.00 seconds
> > info: /Schedule[hourly]: valuated in 0.00 seconds
> > info: /Schedule[puppet]: valuated in 0.00 seconds
> > info: /Filebucket[puppet]: valuated in 0.00 seconds
> > info: /Schedule[daily]: valuated in 0.00 seconds
> > info: /Schedule[never]: valuated in 0.00 seconds
> > notice: Finished catalog run in 0.02 seconds
>
> > my server configuration looks like this
> > [root@PROXY-03 puppet]# tree
> > .
> > |-- auth.conf
> > |-- files
> > |-- fileserver.conf
> > |-- manifests
> > |   |-- nodes.pp
> > |   |-- sites.pp
> > |   `-- templates.pp
> > |-- modules
> > |   |-- file
> > |   |   `-- manifests
> > |   |       `-- init.pp
> > |   `-- networking
> > |       |-- files
> > |       |   `-- resolv.conf
> > |       `-- manifests
> > |           `-- init.pp
> > `-- puppet.conf
>
> > 8 directories, 9 files
>
> > [root@PROXY-03 puppet]# cat manifests/nodes.pp
> > node 'basenode' {
> >  include baseclass
> > }
>
> > node 'PROXY-02.carnation.in' inherits basenode {
> > }
>
> > [root@PROXY-03 puppet]# cat manifests/sites.pp
> > import "nodes"
> > import "templates"
>
> > filebucket { main: server => puppet }
>
> > [root@PROXY-03 puppet]# cat manifests/templates.pp
> > class baseclass {
> >        include networking::resolver
> > }
>
> > node default {
> >        include baseclass
> > }
>
> > [root@PROXY-03 puppet]# cat modules/networking/manifests/init.pp
> > class networking {
> >    # Here you can add stuff to be inhereted by your networking
> > classes
> >    # We won't bother for this demonstration, but just for show!
> > }
>
> > class networking::resolver inherits networking {
> >          file { "/tmp/resolv.conf":
> >              ensure => present,
> >              #source => "puppet:///modules/networking/resolv.conf",
> >              group   => "root",
> >              owner => "root",
> >              mode  => "0755"
> >          }
> > }
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To post to this group, send email to puppet-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > puppet-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/puppet-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to