Hi,

I'm running puppet 3.1.1

I have something similar to the following configuration.

class my_roles::puppet_master {
  file { '/etc/default/puppetmaster':
    ensure => present,
    source => 
'puppet:///modules/my_roles/puppetmaster/etc/default/puppetmaster',
#    before => Class['puppet'],
  }

  class {'puppet' :
    require       => File['/etc/default/puppetmaster'],
  }
}

I would expect that the file type gets applied before the class type 
further down. I've tried both the before, and the require keywords, but no 
matter what, they never get honoured.

I could use the stage's to force the puppet class into a stage after main, 
but that really shouldn't be necessary here. 

Does anyone have any ideas about what I'm doing wrong?

Regards,
Dave

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to