Hi,
Could someone tell me how can I have runinterval = 180 in puppet agent
for windows ?
How can puppet agent on windows runs/contacts puppet master to get sync !!
Adeel
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from thi
Hi John,
For conditional logic, you can use facts.
In your case, you need to create a fact for reading file /etc/file1.
you can create a fact in your fact directory, file_content.rb ->
Facter.add("file_content") do
setcode do
Facter::Util::Resolution.exec('cat /etc/file1')
end
en
Hi,
package { “xyz”:
ensure => latest,
enablerepo => “epel”, }
This internally executes,
yum -y --enablerepo=epel install xyz.
So can use "Exec" just for enabling repo and then you can use package
resource to install package.
I hope this should work.
Thanks and Regards,
Sn
Hi Dilip,
You can get the installation and configuration steps for puppet on RHEL on
link
http://docs.puppetlabs.com/guides/installation.html#red-hat-enterprise-linux-and-derivatives
You can run shell script in client node which is in puppet server by,
1. Transfer the shell script to client
Exchange DAG is essentially a cluster and the adapter in question the dag ip.
My guess is the logic for adapters should be modded for when netconnectionid is
not null.
In general don't try to mess with hidden adapters on dags unless you understand
ramifications.
--
You received this message b
Exchange DAG is essentially a cluster and the adapter in question the dag ip.
My guess is the logic for adapters should be modded for when netconnectionid is
not null.
In general don't try to mess with hidden adapters on dags unless you understand
ramifications.
--
You received this message b
Thanks for the answers and sorry for my late one,
I've only one agent process running :
> ps -aef | grep puppet
> root 4080 2811 0 14:14 pts/000:00:00 grep puppet
> root 18328 1 0 Sep12 ? 00:00:02 /usr/bin/ruby
> /usr/bin/puppet agent
And the agent cycle isn't
Thanks for the answers and sorry for my late one,
I've only one agent process running :
> ps -aef | grep puppet
> root 4080 2811 0 14:14 pts/000:00:00 grep puppet
> root 18328 1 0 Sep12 ? 00:00:02 /usr/bin/ruby
> /usr/bin/puppet agent
And the agent cycle isn't
On Thursday, September 19, 2013 4:59:51 PM UTC-5, Ryan Coleman wrote:
>
>
> On Mon, Sep 16, 2013 at 10:49 PM, Mani Devarajan
>
> > wrote:
>
>> How do i overcome this issue to complete the workflow of module B in both
>> cases (where A is enabled or disabled)
>>
>
> Mani, virtual resources will
On Thursday, September 19, 2013 1:43:07 PM UTC-5, Forrie wrote:
>
> This is something I've been concerned about -- and how to properly
> approach this.
>
> For example, we can use Puppet to ensure that the directories (mount
> points) exist and that the entries are present in /etc/fstab -- but
i just downloaded 3.3 for windows (w7,x64) and got the same error.
output :
C:\Program Files (x86)\Puppet Labs\Puppet\bin>puppet module install
simondaen/iis --debug --trace
Notice: Preparing to install into M:/.puppet/modules ...
Notice: Downloading from https://forge.puppetlabs.com ...
Error:
On Thursday, September 19, 2013 3:04:45 PM UTC-5, Darin Perusich wrote:
>
> On Thu, Sep 19, 2013 at 3:33 PM, jcbollinger
> >
> wrote:
> >
> >
> > On Thursday, September 19, 2013 9:13:59 AM UTC-5, Darin Perusich wrote:
> >>
> >> Hello All,
> >>
> >> I've run into an issue where an array t
I've set up puppetdb to manage my nagios configuration, running puppetdb
on my puppet server (on ~RHEL 6), and running postgres for the puppetdb
store. The nodes to be managed have some standard nagios host/service
exported resources, e.g.:
@@nagios_host { $fqdn:
ensure => pre
On 9/20/13 10:20 AM, Ken Barber wrote:
What I do know from querying the database is that all the exported resources
are present in the puppetdb database (in catalog_resources).
Did you query via the REST interface, or the database directly. The
REST interface might be more clear, as this is pre
Hello,
I work for the CHTC (Center for High Throughput Computing) at the
University of Wisconsin, Madison. We utilize puppet for most of our
configuration management. Currently we have a web application that
performs the tasks of user account management. When a new user is
registered wit
I would say with all of this in mind we move forward with a fix where we
look to see that the network adapter itself is also enabled. This is laid
out in the ticket that I noted earlier.
On Fri, Sep 20, 2013 at 7:44 AM, Rich Siegel wrote:
> Exchange DAG is essentially a cluster and the adapter
You should be able to add that to the puppet.conf file. See
http://docs.puppetlabs.com/references/latest/configuration.html#runintervalfor
reference on how to set that properly.
For your second question, can you please be more elaborate a bit more?
Thanks.
On Fri, Sep 20, 2013 at 4:40 AM, Adee
Is this puppet3? As I recall, in puppet3, the master makes a separate call
to the enc to determine the environment the should authoritatively be in.
Once that's established, it makes a second call to get the classes and
parameters.
Hth,
Greg
On 20 Sep 2013 13:46, "pierra mathieu" wrote:
> Thanks
On 20 Sep 2013 18:05, "Greg Sutcliffe" wrote:
> the should authoritatively be in.
Gah, phone keyboard. "The *client* should authoritatively..."
Sorry
Greg
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop
Sure ...
Here it is:
#
# terracota_version.rb
#
# Reports terracota version if terracotta is installed
Facter.add(:terracotta_version) do
cmd = %x{/bin/rpm -qa terracotta --queryformat %{VERSION}}
setcode do
if ! cmd.nil?
cmd
else
nil
end
end
end
-frederiko
On Fri, Sep 20, 2013 at 10:
Post the code for the custom fact?
On Thursday, September 19, 2013 2:23:15 PM UTC-7, Frederiko Costa wrote:
>
> Hi,
>
> I've got a facter shipped with a custom module. This factor returns the
> version of a determined package. It returns nil if the package is not
> installed yet.
>
> When runnin
> What I do know from querying the database is that all the exported resources
> are present in the puppetdb database (in catalog_resources).
Did you query via the REST interface, or the database directly. The
REST interface might be more clear, as this is pretty much what the
puppetdb terminus us
I have a script that I execute to run a mono exe during a setup process. I
would like to automate that with puppet but the exe depends on an
environment variable being set or it will fail. My setup.sh file looks
like this.
export MY_ENV_VAR=$HOME/target_dir
/usr/mono/bin/mono $HOME/path_to_
Hello all,
I recently switched to running puppet master using Passenger. However, I am
seeing agents unable to send reports after a bunch of 'master' processes
starting to accumulate and eat all the RAM and swap space.
Error: Could not send report: Error 500 on SERVER:
500 Internal Server Err
Hello,
I am having the same problem after installing Puppet enterprise 3.0
But I can see that mcolletive connected with server
I, [2013-09-20T17:13:23.301235 #9312] INFO -- : mcollectived:35:in
`' The Marionette Collective 2.2.4 started logging at info level
I, [2013-09-20T17:13:23.556832 #932
I'm trying to setup a service that doesn't support any service script.
Using the following:
service { 'Rserve':
ensure => 'running',
start => '/usr/bin/R CMD Rserve --gui-none',
provider => 'base',
}
When I run puppet agent -t -d, it returns the following:
Debug: Service[Rserve]
No such luck. I all the above suggestions (capitalising class names,
removing inner quotes) with another require:
* file { 'set_nginx_dir_permissions':*
*ensure => directory,*
*path=> "/opt/nginx-${version}",*
*owner => nginx,*
*group => nginx,*
*mode=> '0644',*
Sorry to resurrect an old thread, but this one did it for me. I always
cleaned the master and deleted the /var/lib/puppet/ssl directory on the
client when I had cert errors but that was not doing the trick. Came across
this thread and blew away the /var/lib/puppet/ directory instead and VOILA!
Hi,
Is it possible with Puppet to copy the file:
/a/path/foo# <-- in node-source
from "node-source" to "node-destination", but with a different path. By example:
/another/path/bar # <-- in node-destination
I know it's possible with exported files when the path is the same in
node-sou
Just one precision...
Le 21/09/2013 04:27, François Lafont wrote :
> Is it possible with Puppet to copy the file:
>
> /a/path/foo# <-- in node-source
>
> from "node-source" to "node-destination", but with a different path. By
> example:
>
> /another/path/bar # <-- in node-destination
Hi all,
I'm trying to find a better way to implement this, but I can't think of. I
have a jdk module that requires to create a symlink to whatever version is
the one installed. Say I install jdk-6u35, it will create something like
/usr/java/jdk_1.6.35. I would like to create a symlink /usr/java/jd
El 21/09/2013 01:11, "Pan Luo" escribió:
>
> I'm trying to setup a service that doesn't support any service script.
Using the following:
>
> service { 'Rserve':
> ensure => 'running',
> start => '/usr/bin/R CMD Rserve --gui-none',
> provider => 'base',
> }
>
> When I run puppet agen
32 matches
Mail list logo