Please refrain from multi-posting the same problem. :)
--
Krish
--
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
Figured it out - by removing the line 'daemonize <%= daemonize %>' from the
template, the template works as expected. Looks like the variable whose
name is deamonize ( <%= daemonize %>) for some reason does not play nice
in a template. Can someone shed some light on reserved variables in
templates
On Wednesday, 20 March 2013 11:36:30 UTC+5:30, yarlagadda ramya wrote:
>
> Hi all,
>
I tried disabling selinux also..i disabled it..but still am getting the
same errors.
>
> 1)I installed puppet agent in one of the server and i gave the name of the
> master for which it needs to be connec
Hi all,
1)I installed puppet agent in one of the server and i gave the name of the
master for which it needs to be connected as puppet. But am unable to
connect to the host..the certificate is not present in the master when i
searched for it with this command *puppet cert list -all *am getting
Dear James,
So how exactly can I use this resource while doing my operations..
Say.. I want to perform the operation in a following sequence
1) Puppet Run starts
2) Install MSI
3) Reboot
4) Apply another puppet manifest
5) Puppet Run Completes
Thanks a lot for your help.
Regards,
Rakesh K.
O
Hi krish,
I also tried modifying SELINUX=disabled in /etc/selinux/config but its
of no use..it dint get disabled
Regards,
Ramya Y
On Wednesday, 20 March 2013 10:29:17 UTC+5:30, yarlagadda ramya wrote:
>
> Hi..
>
> I tried to disable selinux but it dint worked...it is enabled..only...
>
>
Hi..
I tried to disable selinux but it dint worked...it is enabled..only...
I used this command to check whether it is enabled or diabled -
selinuxenabled
&& echo enabled || echo disabled
As u said to disable it, i tried to do it...using this command - echo 0 >
/selinux/enforce
but itis
On Monday, March 11, 2013, ad wrote:
> James,
>
> Not yet, see http://projects.puppetlabs.com/issues/19162.
>
> My (ugly) approach for this now is a refreshonly exec with a delayed
> shutdown. I'd like to see a reboot => true or such for all resources that
> tell the agent to reboot after a run is
Hi Tim,
On Monday, March 11, 2013, Tim Moorhouse wrote:
> I'm moving from version 2.7.19 to 3.1.0 and am running into an issue with
> file resources.
>
> All of them using a "source => '...'" attribute to pull their contents
> from the master are taking about 5 seconds longer than they used to.
On Tuesday, March 19, 2013, Thomas Bendler wrote:
> Hi @all,
>
> I've started to extend some classes I wrote with support for Windows.
> Unfortunately I got stucked with the ACLs. The plan is (as I thougth) quite
> simple, I would like to create a central directory (i.e. c:\managed) and I
> would
Pro Puppet wouldn't mention puppetdb, as it was written before puppetdb
came out. As to your original question, if the puppetmaster service is
running, that would probably inhibit you from starting a second one, as the
PID file would already be in use. For the client not being able to connect,
On Thu, Mar 07, 2013 at 12:11:09PM -0800, James Ralston wrote:
>
> At this point, all of the modules we have written use parameterized
> classes. That way, when we call the module from the host's node.pp file, we
> can override defaults (if necessary).
>
I lump all nodes into the node default
I don't have idea of mysql and backed becoming obsolete. My guide is the book:
Pro Puppet, but within the section "stored configuration" speak about: mysql,
postgres, sqlite and oracle and never puppetdb. (Thanks for this tips).
Respect whether puppet master is running, yes is ok and the ports
please check whether the puppetmaster service is running.
and, Puppet recommend to use puppetdb with stored config.
the support for mysql backend will be deprecated.
On Wed, Mar 20, 2013 at 3:31 AM, mike wrote:
> Hi all.
> I'm have question with sotred configuration for mysql on puppet master.
On Tue, Mar 19, 2013 at 6:03 PM, Steffen Vulpius
wrote:
> I have a file foo.sh which is basically a library of various bash functions.
> Is there a way to execute these functions from puppet
Correct me if I'm wrong, but you have a file foo.sh, that defines a
bash function called bar, and you wan
thank you for let me know there is a stdlib module,many thanks!
On Wed, Mar 20, 2013 at 5:01 AM, Philip Brown wrote:
> I've been using the stdlib::file_line resource happily for a bit now, but
> then ran into a problem
>
> I have a class, which can be simplified as follows
>
> class prop(propva
i think the 'exec' builtin type will help you.
http://docs.puppetlabs.com/references/2.7.latest/type.html#exec
On Wed, Mar 20, 2013 at 6:03 AM, Steffen Vulpius
wrote:
> Hi,
>
> I have a file foo.sh which is basically a library of various bash
> functions. Is there a way to execute these function
You can apparently use LDAP as an ENC...
I run FreeIPA here but I haven't tried setting it up as an ENC yet (I
currently use Foreman)
Here are the official docs on the subject.
http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes
The ENC docs may help as well.
http://docs.puppetlabs.com
Hi I'm having a similar issue.
I found the solution Hailee posted here in the official documentation and
gave it a try.
The weight seems to work great as long as it concerns my own facts. But as
it seems it won't work for build in types.
In my special case I want to override the hostname fact, bu
Hi,
I have a file foo.sh which is basically a library of various bash
functions. Is there a way to execute these functions from puppet?
--Steffen
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receivi
My Hiera tree is turning into a chaotic mess. I'm guessing that my tree
structure is one problem source. So I'm wondering how other real users have
setup hiera. Here are the core problems that are giving me headaches.
# I need to version control my modules separately but hiera data is
monolithi
I've been using the stdlib::file_line resource happily for a bit now, but
then ran into a problem
I have a class, which can be simplified as follows
class prop(propval)
{
file_line {conffile:
line=>"PROPERTY=propval"
}
}
However, I'm attempting to plan for the future, and it sounds ra
Hi all.
I'm have question with sotred configuration for mysql on puppet master. I
am reading the documentation in puppetlabs
(http://projects.puppetlabs.com/projects/1/wiki/using_stored_configuration
) and when starts "standalone puppet master" i have the next message:
[]
[root@pu
Hi there,
in house, we rely on the lsb facts:
lsbdistcodename, lsbdistdescription, lsbdistid, lsbdistrelease, and
lsbmajdistrelease
all of which are essentially derived from the
/etc/${distro-specific-release-file} and don't _really_ need the lsb packages
(and the associated bloat) installed.
Thanks for the help. I ended up removing the postgres user on the puppet
agent machine and directing puppet in the module manifest file to create
the postgres user. And now Exec ["postgres init"] runs properly.
On Tuesday, March 19, 2013 10:30:09 AM UTC-4, Brandon Groves wrote:
>
> I am using
I am trying to handle in my user class assigning user to groups, and
handling that some groups might not be defined for that node. Example here
is handling a non-datase node,
"juser" fails with "Error: Failed to apply catalog: Parameter groups
failed on User[juser]: Group names must not be e
If it's working using the declaration from your tests directory, but not
from your master, then it stands to reason that either something is wrong
with the way you're calling it on the master or something is wrong in your
master setup that is causing a communication error. Could you post how
yo
The majority of our servers are attached to large LDAP directories.
However, there are also cases when we need to define local service
accounts for whatever reason. We do this with the "user" resource-type.
If the host is attached to a LDAP directory, it takes Puppet a VERY long
time to proc
I ended up figuring it out myself finally. In order to accomplish this you
need to set up PuppetDB. Then you point all masters to PuppetDB as the
inventory service and Puppet Dashboard will pull from there instead of the
master directly. Of course, in order to point multiple masters at PuppetDB
On Monday, March 18, 2013 7:01:10 AM UTC-5, david...@gmail.com wrote:
>
> hi,
>
> Specifically I would like to have something like top scope resource
> defaults so as to enforce,... well,... default behaviors across our modules
>
> for example, with the exec type: Exec { logoutput => on_failure
Hmm, I'm about stumped then. Sorry.
Regards,
Felix
On 03/19/2013 04:26 PM, Francis Pereira wrote:
> Works as expected when the content parameter is #
>
>
>
> ~Francis
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this
Works as expected when the content parameter is #
~Francis
On Mar 19, 2013, at 8:19 PM, Felix Frank
wrote:
> All right, so - what happens if you remove that resource from the
> manifest, or remove the content => parameter from the resource?
> (Do use --noop on the agent side).
>
> Felix
>
> O
On Monday, March 18, 2013 11:16:41 AM UTC-5, olli...@googlemail.com wrote:
>
> Hello,
>
> If I want to do something like this:-
>
> if $::lsbdistrelease >= 6.3 {
> SOMETHING
> }
>
> Do I have to convert lsbdistrelease from a string to a number with an
> inline template or some such ?
>
>
Gener
On Monday, March 18, 2013 3:34:18 PM UTC-5, Matthew Burgess wrote:
>
>
> Yes. Try:
>
> class website {
> ...
> require => Class['httpd', 'mysqld']
> }
>
>
Nope. You are confusing separate concepts and separate language
structures. The OP is defining his class, not declaring it. The 'req
On Monday, March 18, 2013 2:48:11 PM UTC-5, JamieC wrote:
>
> Hello,
>
> I have a class called website, which requires both httpd and mysqld
> classes. Without defining it within the site.pp (node section). Is it
> possible to define that "website" requires these additions? Such as;
>
> class w
Hi,
On 03/19/2013 03:30 PM, Brandon Groves wrote:
> When Exec ["postgres init"] is ran, /var/log/messages on the the puppet
> agent has several lines printed similar to the following:
> kernel: type=1400 audit(1363697390.681:566): avc: denied { read write
> } for pid=14834 comm="postgres"
> pat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> [root@host]# su postgres
>
> bash-4.1$ ./initializePostgres.sh
(in SELinux terms) this is not the same as bash initializePostgres.sh
Maybe try with the following exec:
exec{'postgres init':
command => '/applications/module/initializePostgres.sh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Does Facter need direct connection to clients ? If yes I cannot use
> it since my clients are behind firewalls/routers.
facter runs on the clients before the client asks (with the gathered
facts) the master for the catalog.
In your manifests you ca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> The problem is that when I install activerecord-mysql-adapter it
> automatically install the latest activerectord gem Is there a way
> to disable it or there is a fix for activerecord gem?
Maybe install an older mysql-adapter?
~pete
-BEGIN PGP
All right, so - what happens if you remove that resource from the
manifest, or remove the content => parameter from the resource?
(Do use --noop on the agent side).
Felix
On 03/19/2013 03:41 PM, Francis Pereira wrote:
> That's the last line I get on the master. After that the client run stops.
>
That's the last line I get on the master. After that the client run stops.
~Francis
On Mar 19, 2013, at 7:42 PM, Felix Frank
wrote:
> On 03/19/2013 02:29 PM, Francis Pereira wrote:
>> On my puppetmaster with --debug I get the following error
>> debug:
>> template[/etc/puppet/manifests/lib/redis
I am using Puppet 3.1.0 on a CentOS 6.3 machines. The puppet master and
puppet agents use CentOS 6.3 as their OS. I have a puppet script (init.pp
file for the puppet module) that contains the following exec type:
exec { "postgres init":
cwd => "/applications/module",
command => "bash initiali
On 03/19/2013 02:29 PM, Francis Pereira wrote:
> On my puppetmaster with --debug I get the following error
> debug:
> template[/etc/puppet/manifests/lib/redis/templates/redis.conf.erb]:
> Bound template variables for
> /etc/puppet/manifests/lib/redis/templates/redis.conf.erb in 0.00 seconds
Hmm, t
On Tuesday, March 19, 2013 8:21:24 AM UTC-5, Moritz Tanzer wrote:
>
> Hello,
>
> is it possible to modify the same file with two different inherited
> classes?
>
> I have to define some kernel modules which must be loaded automatically at
> system startup. Probably the easiest way would be writ
The problem is that when I install activerecord-mysql-adapter it
automatically install the latest activerectord gem
Is there a way to disable it
or there is a fix for activerecord gem?
Luca
2013/3/19 Peter Meier
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > I've eliminated a few dupli
Thanks Brendan,
Does Facter need direct connection to clients ? If yes I cannot use it since
my clients are behind firewalls/routers.
Is there another way except Facter ?
On Tuesday, March 19, 2013 2:49:54 PM UTC+2, Brendan O'Bra wrote:
>
> I think the "operatingsystem" fact is what you want:
>
Hello,
is it possible to modify the same file with two different inherited classes?
I have to define some kernel modules which must be loaded automatically at
system startup. Probably the easiest way would be writing the module's name
in /etc/modules.conf. But how do I manage several host with
I seem to have made some error in my template but cant seem find a way to
debug it except for removing (deleting) parts of the template file and
figuring out where there is a mistake.
On my puppetmaster with --debug I get the following error
debug: template[/etc/puppet/manifests/lib/redis/template
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I've eliminated a few duplicate gems and installed the most recent
> rails (mind I'm no ruby developer so I'm going blind here)
This seems to be the problem that newer activerecord will get into an
endless loop while serializing.
I use the followin
I think the "operatingsystem" fact is what you want:
https://puppetlabs.com/blog/facter-part-1-facter-101/
On Tue, Mar 19, 2013 at 5:26 AM, Dragos R wrote:
> Beginner question:
>
> I have a very simple configuration in site.pp for all agents.
>
> Is it possible to split actions based on operati
Beginner question:
I have a very simple configuration in site.pp for all agents.
Is it possible to split actions based on operating system. I am interested
into running certain commands
only on Windows 7, some on Windows Xp and some on Mac OS X agents.
Is there a simple way of achieving this wh
I disabled autosigning on server and run
puppet_interactive.bat --test --server 192.168.1.250 --wasitforcert 30
on server I manually signed the certificate.
It threw some errors on the agent then puppet agent successfully run.
The host agent was upgraded from 3.0.0, maybe that was the cause.
Al
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I'd like to print out the above using my template file, however I
> can't be certain of how many entries will exist, I want to end up
> with a file like so:
pass a hash to your ip::addr define and loop over keys/values as
indication which interfaces
Could someone please help me understand how I could loop through the
following nodes definition in my templates file?
ip::addr{ "as2s67v":
ip0 => "192.168.30.0",
pre0 => "/24",
ip1 => "172.45.35.0",
pre1 => "/16",
ip2 => "145.88.88.0",
pre2 => "/24",
}
I'd like to prin
Douglas,
I realise this is an old thread and you may have moved on but for the
benefit of others that may be coming later the flag you are looking for
is -waitforcompletion e.g.
./client/runInstaller -silent -responseFile ~/client.rsp -ignorePrereq
-waitforcompletion
This prevents the install
I am pretty new with puppet and I am receiving this error when I try to run
Puppet Agent on the Windows 7 host:
"Running Puppet agent on demand ...
Exiting; no certificate found and waitforcert is disabled
Press any key to continue . . ."
puppetmaster 3.1.1 on CentOS 6.4 on 192.168.1.250
/etc/pu
Hi @all,
I've started to extend some classes I wrote with support for Windows.
Unfortunately I got stucked with the ACLs. The plan is (as I thougth) quite
simple, I would like to create a central directory (i.e. c:\managed) and I
would like to put some additional files and directories underneath t
On 03/18/2013 03:02 PM, Klavs Klavsen wrote:
> I solved this issue, by using netgroups (in LDAP) - which is loaded into
> puppet, by a script which is run by external_nodes setting (it just
> provides parameters - no actual nodes).
>
> This way, a server can have multiple roles (by being in multip
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have the following basic requirement to pass variables from one
template to another "included" one:
#some_template.erb
<%- [:foo, :bar].each do |state| %>
<%= scope.function_template('some/other_template.erb') %>
<%- end %>
# some/other_
59 matches
Mail list logo