Donavan,
Thanks for the explanation. I now have a better understanding of
how the Host resource works.
Cheers,
Henry
On Aug 7, 3:20 pm, donavan wrote:
> On Aug 6, 8:50 am, CraftyTech wrote:
>
> > So, should the exporting
> > of the necessary values be done in the same class as the colle
On Aug 6, 8:50 am, CraftyTech wrote:
> So, should the exporting
> of the necessary values be done in the same class as the collection,
> or should I just outline it on my default node definition. Here's
> what I have so far (and it's not working):
Your example is pretty close. I don't see an obv
Can anyone share how they do their /etc/hosts population from
storeconfigs?
Thanks,
On Aug 6, 11:50 am, CraftyTech wrote:
> Sounds pretty interesting, specially since I always had store configs
> running... I'm now able to circle back to this issue and re-focus on
> automatically generating my
Sounds pretty interesting, specially since I always had store configs
running... I'm now able to circle back to this issue and re-focus on
automatically generating my /etc/hosts file. So, should the exporting
of the necessary values be done in the same class as the collection,
or should I just ou
As Patrick mentions, one solution i recommend is to enable storeconfigs and
have each node export a host entry for itself tagged with the tag you want
other hosts to collect.
For example, each node may export it's host entry with:
@@host { "$fqdn": ip_address => $ipaddress, tags => "webserver" }
Take a look at http://docs.puppetlabs.com/guides/exported_resources.html. I
think this will give you what you want. It will only work if you turn on
storeconfigs.
On Jul 12, 2010, at 5:43 AM, CraftyTech wrote:
> Thanks for the feedback Jeff. Interesting feature that I had
> unfortunately ov
Thanks for the feedback Jeff. Interesting feature that I had
unfortunately overlooked until now, but the basic question still
remains; how would I then generate specific hostfiles based on nodes
of the same tag? For instance, a web server to only have host entries
for items tagged webserver only,
On 1 July 2010 18:17, jb wrote:
> This also vexes me, I also would love to use 'all_tags', but it's not
> consistent. The issues is best described in the following bug, I
> believe:
>
> http://projects.puppetlabs.com/issues/3049
Good call. I wasn't aware there was an existing ticket for it.
F
This also vexes me, I also would love to use 'all_tags', but it's not
consistent. The issues is best described in the following bug, I
believe:
http://projects.puppetlabs.com/issues/3049
On Jun 30, 10:59 am, Dan Carley wrote:
> On 30 June 2010 18:40, CraftyTech wrote:
>
> > Hello All,
>
> >
Interesting.. Thanks for the feedback. I think that a custom fact is
the way to go then...I'll do some experimenting, and I'll post the
results in case someone else can benefit from topic...
Cheers,
Henry
On Jun 30, 1:59 pm, Dan Carley wrote:
> On 30 June 2010 18:40, CraftyTech wrote:
>
> > H
10 matches
Mail list logo