Re: [Puppet Users] is site.pp a must to have‏

2012-07-03 Thread Worker Bee
I ran into this as well.  I found that the puppetmaster will start without
a site.pp but, it does not build the catalog and actually apply anything.
So, I think that a site.pp file IS required.  It can be simple like:

import 'nodes.pp'
$puppetserver = 'somehost'




On Mon, Jul 2, 2012 at 7:00 PM, Hai  wrote:

>  Hi,
>
> is site.pp a file must to have? I have set up a puppet server, but my
> following manifest just cannot apply to my client, the server itself.
>
>
> # cat haitest.pp
> file { '/etc/motd' : source => "puppet:///files/motd" ,}
>
>
> Thanks.
>
> Hai  T.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/PHMGaA52wR4J.
> 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.
>

-- 
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.



Re: [Puppet Users] is site.pp a must to have‏

2012-07-03 Thread Corey Hammerton
You can also set the PUPPETMASTER_MANIFEST variable in 
/etc/sysconfig/puppetmaster, if you're running puppet via an RPM build, to 
change the site manifest from the default /etc/puppet/manifests/site.pp to 
something else. 

On Tuesday, July 3, 2012 5:00:52 AM UTC-4, Hendrik Jäger wrote:
>
> Hi, 
>
> On Mon, 2 Jul 2012 16:00:28 -0700 (PDT) 
> Hai  wrote: 
>
> >  Hi, 
> >   
> > is site.pp a file must to have? 
>
> No, see 
> https://docs.puppetlabs.com/references/stable/configuration.html#manifest 
>
> > I have set up a puppet server, but my 
> > following manifest just cannot apply to my client, the server itself. 
>
> If you want help with that, show us the problem. 
>
> Best regards 
>
> Hendrik Jäger 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/ckbTSg20-uUJ.
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.



Re: [Puppet Users] is site.pp a must to have‏

2012-07-03 Thread Hendrik Jäger
Hi,

On Mon, 2 Jul 2012 16:00:28 -0700 (PDT)
Hai  wrote:

>  Hi,
>  
> is site.pp a file must to have?

No, see
https://docs.puppetlabs.com/references/stable/configuration.html#manifest

> I have set up a puppet server, but my 
> following manifest just cannot apply to my client, the server itself.

If you want help with that, show us the problem.

Best regards

Hendrik Jäger


signature.asc
Description: PGP signature


[Puppet Users] is site.pp a must to have‏

2012-07-02 Thread Hai
 Hi,
 
is site.pp a file must to have? I have set up a puppet server, but my 
following manifest just cannot apply to my client, the server itself.
 

# cat haitest.pp
file { '/etc/motd' : source => "puppet:///files/motd" ,}


Thanks.
 
Hai  T.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/PHMGaA52wR4J.
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.