Hi,
  I think require=>Class[...] works only for class files in module, it does 
not work for modules.  
  You can try this:  
   node "server.my.fqdn" { 
   stage{ 'first': }
   stage{ 'second': }
   Stage[first]->Stage[second] 
     class { "puppet_agent": 
        stage   => first,  
     } 
     class {"base_config:
            stage   => second,           
             }
  }

 Regards,
 Sneha More.
 NTT DATA GTS.(OSS Centre)



On Monday, July 22, 2013 9:40:53 PM UTC+5:30, cko wrote:
>
> hi everyone,
>
> my *site.pp* looks like this:
>
>
> node "server.my.fqdn" { 
>    class { "puppet_agent": } 
>    class {"base_config:
>                      require=>Class["puppet_agent"]
>              }
> }
>
> im trying to achieve that the "puppet_agent" module is applied before the 
> "base config" modules. 
>
> however, the puppet_agent module gets installed LAST.
>
> any ideas?
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to