Am 21.01.2014 08:25, schrieb Jose Luis Ledesma:
> I think this could be accomplished with exported resources, on every node
> export a file with his IP, and collect the other ones. Then with a custom
> script you could verify if the entry is on the hosts file.
But still, how do you cope with n
In fact, I think that is easier, with host exported resources.
See:https://groups.google.com/forum/m/#!topic/puppet-users/uAxbiIYH6Q4
--
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
I think this could be accomplished with exported resources, on every node
export a file with his IP, and collect the other ones. Then with a custom
script you could verify if the entry is on the hosts file.
About the offtopic dhcp vs hosts file, most clusters like to have the ips
defined on t
well in the end i would have to add dns healthchecks too to the node
spawning. The puppet /etc/hosts approach just looked nice and easy.
I am on Amazon AWS, but i should be able to to it with nagios and some
scripts
On Tue, Jan 21, 2014 at 2:41 PM, Dirk Heinrichs wrote:
> Am 21.01.2014 03:37,
On Monday, January 20, 2014 8:01:13 PM UTC+5, Felix.Frank wrote:
>
> Hi,
>
> On 01/20/2014 03:25 PM, Muhammad Yousuf Khan wrote:
> > hello guys,
> >
> > i am new to puppet and few days back have installed motd module for
> > testing this is my first module working great however i just see t
Am 21.01.2014 03:37, schrieb Peter Romfeld:
> I have a cluster where all nodes must use hostnames, so we use
> /etc/hosts. I want to configure autoscaling for this cluster, but my
> biggest problem is the hosts file, so when a new node comes up all
> other nodes need to be notify that the hosts fi
On Monday, January 20, 2014 7:25:18 PM UTC+5, Muhammad Yousuf Khan wrote:
>
> hello guys,
>
> i am new to puppet and few days back have installed motd module for
> testing this is my first module working great however i just see too many
> change messages since the day motd module has install
yes.
I have a cluster where all nodes must use hostnames, so we use /etc/hosts.
I want to configure autoscaling for this cluster, but my biggest problem is
the hosts file, so when a new node comes up all other nodes need to be
notify that the hosts file changed, so the make pull the new file.
Tha
Created a function that generates a collector. Will use a different
function to remove all undef-ed values from a hash and feed that to the
fuction:
https://github.com/wleese/puppet-create_collector
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" gr
Disclaimer: i dont know if this is posible at all.
Augeas is able to parse XML, perhaps you can modify the php to load a xml, and
use augeas to modify it.
I don't have experience with augeas+XML, so this may be just a nonsense :)
--
You received this message because you are subscribed to the G
Almost there! =)
My only change was '"host_entry_${name}" :' like you suggested,
everything else in the code is like my first post, and the error now is:
*"Could not evaluate: uninitialized constant Augeas::NO_MODL_AUTOLOAD"*
*By the way, thank you so much for the help, this topic made me lear
I fixed my own problem. Seems that when I installed dhoppe/postfix, and
it automatically included a dependency dhoppe/puppet which seems to have
overwritten some components of puppet. I immediately removed
dhoppe/postfix but didn't notice that dhoppe/puppet was still in situ.
Removing this and
Forgot to mention that it's a PuppetDB issue. ;)
On Monday, January 20, 2014 4:17:39 PM UTC+1, ak0ska wrote:
>
> Hello,
>
> We wanted to created a query, which would check the hostgroup fact of
> machines that apply a certain type of resource declared in a certain
> manifest file. We wanted to u
Hello,
We wanted to created a query, which would check the hostgroup fact of
machines that apply a certain type of resource declared in a certain
manifest file. We wanted to use the 'select-resources' subquery as follows:
curl -G -H "Accept: application/json" localhost:8080/v3/facts
--data-url
Hi,
On 01/20/2014 03:25 PM, Muhammad Yousuf Khan wrote:
> hello guys,
>
> i am new to puppet and few days back have installed motd module for
> testing this is my first module working great however i just see too
> many change messages since the day motd module has installed.
> this is what i se
Hi,
as far as I understand, spacing should usually not be an issue in manifests
between the attribute name and the "arrow", right?
For example, for a "host" type resource:
ip => "192.168.1.1"
…should be the same as:
ip => "192.168.1.1"
Is that right?
It's useful to make manifests ea
Hi Pete,
thanks for your reply.
I thought I replied to you last night, but Google doesn't show it. So here
it is again:
The difficulty with using a template, is that there are just too many
exceptions between the instances. Some keys or arrays are exclusive to one
or several, but not all, inst
hello guys,
i am new to puppet and few days back have installed motd module for
testing this is my first module working great however i just see too many
change messages since the day motd module has installed.
this is what i see in all the messages
this message showed up as CHANGE in every a
Hi,
On 01/15/2014 10:15 PM, Vassiliy Vins wrote:
> Any ideas, why? where to look at? thnx
honestly - no. But I do recommend to put all your manifests and files
into modules and serve them from there. Refrain from using 'import'.
I suppose that will work better for you.
HTH,
Felix
--
You recei
Hi,
fwiw, I still use quite a lot of 2.7, when there was a standalone
filebucket (not puppet filebucket). This defaulted to clientbucket just
fine.
I suspect you can solve this by adding a [filebucket] section to
puppet.conf. Although I'm not sure whether this should be considered a
workaround ra
Hi,
On 01/20/2014 07:57 AM, Dirk Heinrichs wrote:
>> I am using the puppet example42/hosts module to have a dynamic
>> /etc/hosts file.
>> Its working fine so far but i have one more requirement, i need to
>> force update on all other nodes if one node changes or get added.
>
> This is what it is
Onliif looks at exit code, not at echo value.
If you are piping - it will be exit code of the last command.
Use grep -q or something to get a non-zero code
On 20 Jan 2014 13:02, "Jan-Frederic Markert" <
jan-frederic.mark...@codecentric.de> wrote:
> Hey,
>
> we want to check a condition before ex
Am 20.01.2014 07:52, schrieb Peter Romfeld:
> I am using the puppet example42/hosts module to have a dynamic
> /etc/hosts file.
> Its working fine so far but i have one more requirement, i need to
> force update on all other nodes if one node changes or get added.
This is what it is: an example.
Hi All,
Newbie Starting with Puppet on ubuntu
Installed puppet, puppetlabs/cloud_provisioner, gems guid and fog
Puppet help not showing node_Aws command. What else i need to install
Thanks in advance.
NP
--
You received this message because you are subscribed to the Google Groups
"Puppet
Hey,
we want to check a condition before executing some commands.
If a line is existing in a list of architectures, the command should not
run - and vice versa.
So we use grep and count the words (wc -l).
The expected behaviour: if the onlyif-command returns 0, execute. If not,
don't.
(accordin
Hi All,
I am just starting to setup Puppet on Ubuntu. Puppet node_aws commnad is
not seen when I run puppet. Do I need to install any other packages, If I
need to run puppet with AWS ec2.
Thanks in advance for the help,
NP
--
You received this message because you are subscribed to the Google
Hi chaps,
This morning I started running into an error. All my nodes started
failing with:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: You need rubygems to use Hiera at
/home/ispms/PUPPETROOT/environments/common/modules/uob_ntp/manifests/init.pp:5
on node dhcp
Am 17.01.14 11:43, schrieb Andrey Kozichev:
You can get list of directories under /Users from facter and then
build an array out of it and use this in your manifest.
Thanks for your help. I will try this...
Robert
--
You received this message because you are subscribed to the Google Groups "P
28 matches
Mail list logo