* Nan Liu [2012-02-27 17:02:49 -0800]:
> On Mon, Feb 27, 2012 at 4:13 PM, Sonia Hamilton wrote:
> > (Puppet 0.25.4).
> >
> > Is there an easy way of doing a puppet client run with just one class,
> > so I can test it?
> >
> > I've inherited an old, crufty puppet setup with lots of classes, and I
On Mon, Feb 27, 2012 at 4:13 PM, Sonia Hamilton wrote:
> (Puppet 0.25.4).
>
> Is there an easy way of doing a puppet client run with just one class,
> so I can test it?
>
> I've inherited an old, crufty puppet setup with lots of classes, and I
> want to go through each class one by one and watch t
We are using the ruby installer from the Puppet windows page:
http://rubyforge.org/frs/download.php/74293/rubyinstaller-1.8.7-p334.exe
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
Here are the command you wanted me to run:
C:\Ruby187\bin>ruby -v
ruby 1.8.7 (2011-02-18 patchlev
(Puppet 0.25.4).
Is there an easy way of doing a puppet client run with just one class,
so I can test it?
I've inherited an old, crufty puppet setup with lots of classes, and I
want to go through each class one by one and watch the puppet client
running against puppetd.
Thanks, Sonia.
--
You r
Thank you guys, and thanks Nan. I see my mistakes now.
Mohamed.
On Mon, Feb 27, 2012 at 4:39 PM, Kelsey Hightower wrote:
> On Mon, Feb 27, 2012 at 4:33 PM, Nan Liu wrote:
>>
>> On Mon, Feb 27, 2012 at 1:17 PM, Mohamed Lrhazi wrote:
>> > From my ENC, I return something like, for a given node:
>
Hi Igor,
Are you using the ruby interpreter from rubyinstaller.org? Or cygwin?
On Mon, Feb 27, 2012 at 1:43 PM, Igor wrote:
> Here you go:
>
> Mon Feb 27 13:41:20 -0800 2012 Puppet (notice): Starting Puppet client
> version 2.7.11
> Mon Feb 27 13:41:20 -0800 2012 Puppet (err): Could not run: fo
>
> Did you build this on a system with openssl-devel or equivalent installed? Or
> install openssl+devel headers into your /local location?
BINGO! That was the problem. THANK YOU.
What really gets me is that I would never have figured this out, based
on the ambiguous error message.
I just
Here you go:
Mon Feb 27 13:41:20 -0800 2012 Puppet (notice): Starting Puppet client
version 2.7.11
Mon Feb 27 13:41:20 -0800 2012 Puppet (err): Could not run: fork()
function is unimplemented on this machine
Mon Feb 27 13:41:20 -0800 2012 Puppet (err): c:/Ruby187/bin/c:/Ruby187/
lib/ruby/site_ruby
On Mon, Feb 27, 2012 at 4:33 PM, Nan Liu wrote:
> On Mon, Feb 27, 2012 at 1:17 PM, Mohamed Lrhazi wrote:
> > From my ENC, I return something like, for a given node:
> >
> > nfs_mounts:
> > - [/data, fas3319-518.example.com:/vol/crddb_data/test]
> >
> > and in my manifests I added:
> >
> >
On Mon, Feb 27, 2012 at 4:32 PM, Mohamed Lrhazi wrote:
> Chaging my ENC to output this, adding double quotes:
>
> nfs_mounts:
> - ["/data", "fas3319-518.uis.georgetown.edu:/vol/onecrddb_data/test"]
>
> and adding a notice($nfs_mounts) to the manifests, gives this log:
>
> [daemon.notice]
Hi Igor,
On Mon, Feb 27, 2012 at 12:54 PM, Igor wrote:
> Yes, we are running it as a windows service.
>
> We are using nssm as a wrapper, here is how we created the service:
>
> nssm.exe install puppet-agent c:\ruby187\bin\puppet.bat agent --
> logdest c:\puppet.log
>
Can you set the trace[1] o
On Mon, Feb 27, 2012 at 1:17 PM, Mohamed Lrhazi wrote:
> From my ENC, I return something like, for a given node:
>
> nfs_mounts:
> - [/data, fas3319-518.example.com:/vol/crddb_data/test]
>
> and in my manifests I added:
>
> define mount_nfs_shares() {
> $mount_point = $name[0]
>
Chaging my ENC to output this, adding double quotes:
nfs_mounts:
- ["/data", "fas3319-518.uis.georgetown.edu:/vol/onecrddb_data/test"]
and adding a notice($nfs_mounts) to the manifests, gives this log:
[daemon.notice] (Scope(Class[Gu_misc])) nfs_mounts:
/datafas3319-518.example.com:/vo
On Mon, Feb 27, 2012 at 4:17 PM, Mohamed Lrhazi wrote:
> From my ENC, I return something like, for a given node:
>
> nfs_mounts:
> - [/data, fas3319-518.example.com:/vol/crddb_data/test]
>
> and in my manifests I added:
>
> define mount_nfs_shares() {
>$mount_point = $name[0]
>
>From my ENC, I return something like, for a given node:
nfs_mounts:
- [/data, fas3319-518.example.com:/vol/crddb_data/test]
and in my manifests I added:
define mount_nfs_shares() {
$mount_point = $name[0]
$mount_device = $name[1]
notice("mount_point: ",$mount
I'm running a two headed puppetmaster and have disabled crl's. Let's
call them the primary and the secondary. The primary and secondary
both use the primary as their master. The secondary only is used when
the primary isn't responding (I wrap the puppetd call in cron with a
short shell script)
On Feb 27, 11:28 am, Alan Laird wrote:
> On Feb 23, 3:39 pm, Nathan Powell wrote:
>
>
>
>
>
> > On Thu, Feb 23, 2012 at 5:57 PM, AlanLaird wrote:
> > > I'm trying to write a recipe to install the latest libstdc++ in both
> > > 32bit and 64bit flavors and running into issues. Yum only wants to
Yes, we are running it as a windows service.
We are using nssm as a wrapper, here is how we created the service:
nssm.exe install puppet-agent c:\ruby187\bin\puppet.bat agent --
logdest c:\puppet.log
The puppet.bat is the default that the install script creates.
Thanks,
Igor
On Feb 27, 12:48
>Here are the errors in full, and demonstrating the entire path:
>
>
>[ /local]# bin/gem list
>
>*** LOCAL GEMS ***
>
>facter (1.6.5)
>puppet (2.7.11)
>
>
>[ /local]# bin/puppet --version
>
>/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
>`gem_original_require': no such file to load
Here are the errors in full, and demonstrating the entire path:
[ /local]# bin/gem list
*** LOCAL GEMS ***
facter (1.6.5)
puppet (2.7.11)
[ /local]# bin/puppet --version
/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require': no such file to load -- openssl (Lo
I installed this using the full path to the shared gem, simply:
/local/bin/gem install puppet
The puppet code, et al, is in the proper place under /local/lib/
I don't need to worry about the installation, I can overwrite it any
time -- this is my test platform.
I did bootstrap ruby and inst
I think the problem happens when you configure agents to send reports.
In this case when you run the agent in the console the output is not cached
just showed and the log is empty so the report is also empty.
# puppet agent --verbose --trace --no-daemonize
My output is...
notice: Starting Pup
On Mon, Feb 27, 2012 at 6:56 AM, Smith wrote:
> Hi all,
>
> I'll use puppet to manage +/- 10 servers, but I'm facing some problems
> about facter variables, dashboard and parameters.
>
> I try to use this module :
>
> http://projects.puppetlabs.com/projects/1/wiki/Resolv_Conf_Patterns
That exampl
On Mon, Feb 27, 2012 at 9:29 AM, Igor wrote:
> I'm having issues getting puppet to work properly on our servers. we
> have puppet allready running on our linux servers however are unable
> to have the puppet agent run on windows.
>
> the log displays only the following:
>
> Puppet (notice): Start
On Feb 24, 5:52 am, jcbollinger wrote:
> On Feb 23, 4:57 pm, AlanLaird wrote:
>
> > Any suggestions on the right way to do this?
>
> If neither of the things you already tried works, then perhaps you
> should fall back to "don't worry about it." If you install software
> only from packages, then,
I'm having issues getting puppet to work properly on our servers. we
have puppet allready running on our linux servers however are unable
to have the puppet agent run on windows.
the log displays only the following:
Puppet (notice): Starting Puppet client version 2.7.11
Puppet (err): Could not ru
On Feb 23, 3:39 pm, Nathan Powell wrote:
> On Thu, Feb 23, 2012 at 5:57 PM, AlanLaird wrote:
> > I'm trying to write a recipe to install the latest libstdc++ in both
> > 32bit and 64bit flavors and running into issues. Yum only wants to
> > install the 64bit version if I do:
>
> > yum install lib
On Mon, Feb 27, 2012 at 8:34 AM, psyber wrote:
> I have a script that I exec every puppet run that contacts a web site to
> fetch a version number for a program then compares it to the installed
> version number to determine if they match. If they match the script exits,
> if they don't match it d
On Mon, Feb 27, 2012 at 1:41 AM, Shirley wrote:
> Linux master : ubuntu 11.10, puppet 2.7.1
> Windows agent : 2008 r2 x64, puppet 2.7.1
>
Windows agent support was added in 2.7.6, however, we have fixed a number
of issues since then, including the one you are running into. You'll want
to use the
My solution was to run ntpdate before I ran the puppet join. Since all my
client machines are ubuntu, I know it's pre-installed. After that, puppet
installs the ntp service.
My "join" command looks something like: `apt-get install puppet -y &&
ntpdate pool.ntp.org && puppet agent --server puppet
Well, we do it with kickstart and -- typically -- do the same thing. But for
some reason it wasn't able to reach the NTP server during kickstart and it was
never able to sync the clock before things really got rolling.
And it just occurred to me that since, ostensibly, puppet could be in charge
I have a script that I exec every puppet run that contacts a web site to
fetch a version number for a program then compares it to the installed
version number to determine if they match. If they match the script
exits, if they don't match it downloads a tarball and runs a somewhat
complex set o
I'm running puppet out in aws and am running into a problem
automatically ensuring the latest openssl version.
I have the package resource defined as:
package { 'openssl' :
ensure => latest,
}
Unfortunately I'm getting this error:
(/Stage[main]/Base/Package[opens
Hello All,
Recently a new group, organized around coding, implementing, hacking
on, and generally doing things to better ourselves as developers,
devops, or otherwise has been formed called Coder Society. At this
time we're putting together groups in Seattle, Portland, and San
Francisco. I'd lik
On Feb 27, 2012, at 2:41 AM, Shirley wrote:
> Hello,
>
>
> As the subject described, I tried to retrieve a file from linux master
> to windows agent with the init.pp below :
> class test {
>file { “C:/ProgramData/testfile.txt”:
>ensure => present,
>mode => 0644,
>owner => test,
Sorry, forgot to include relevant infos :
I'm using puppet 2.6.13 from epel repository with dashboard 1.2.6
On Feb 27, 3:56 pm, Smith wrote:
> Hi all,
>
> I'll use puppet to manage +/- 10 servers, but I'm facing some problems
> about facter variables, dashboard and parameters.
>
> I try to use t
Hi all,
I'll use puppet to manage +/- 10 servers, but I'm facing some problems
about facter variables, dashboard and parameters.
I try to use this module :
http://projects.puppetlabs.com/projects/1/wiki/Resolv_Conf_Patterns
class resolver {
# noop
}
define resolv_conf($domainname = "$d
On Feb 25, 2:19 pm, ruslan usifov wrote:
> Thanks jcbollinger for detailed answer
>
> >>>For many resource types, another alternative to to purge unmanaged
> >>>resources via the 'Resources' meta-resource type.
>
> I misunderstand what you talking about? Could you share some links?
http://docs
On Feb 24, 9:16 am, Gonzalo Servat wrote:
> On Sat, Feb 25, 2012 at 2:06 AM, jcbollinger wrote:
>
>
>
> > I have not noticed this behavior, but you're a little vague.
>
> Yes, I guess I wasn't sure what I could provide in terms of detail so your
> questions help!
>
> When you say that the Mount
On Feb 24, 1:38 pm, Forrie wrote:
> Also, the puppet I'm using (on all systems) is installed from the gem.
You did not directly answer the key question, which I now think is
this:
>Is it possible that you used the system's Ruby (or the system's gem)
>to install the openssl or puppet gem into th
Never mind found I did indeed screw with auth.conf - my bad.
Nice to see facts only loading once this time...
On Feb 27, 1:43 pm, "ollies...@googlemail.com"
wrote:
> Hello,
>
> Thought I would upgrade the masters then tried to join a new client.
>
> All the /etc/puppet/*.conf files are the same.
On Feb 24, 3:21 pm, weloki wrote:
> Thanks for the response John.
>
> I was able to ping the master from the hosts and port 8140 was open/
> listening. The only firewall on the master was UFW, but I hadn't
> modified it. The master was actually a VM and the hosts were a mix of
> VMs and physical
Hello,
Thought I would upgrade the masters then tried to join a new client.
All the /etc/puppet/*.conf files are the same. This is running split
CA/Masters running behind F5 and running under Passenger on RHEL6
Now getting 403 errors.
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Fa
Hi ,
I am using tags according to environments Eg: prd_env and stg_env
How do i implement a default node Eg:
node default inherits basenode {
tag("prd_eu")|("stg_eu"))
include general
}
The above does not work.
I invoke the puppe agent
puppet agent --test --noop --server=puppetm
A suggestion based on how I deal with this :
I use Cobbler to load the operating system and do basic configurations. Then I
hand off to Puppet. One thing I do with Cobbler is the initial setting of the
system clock using ntpdate or ntpd -q
Hope this helps
-Original Message-
From: Derek
We recently had a situation where servers weren't able to use their
auto-sign'ed certificates because their local clock was months off from
real-time. Of course, it was brand-new hardware straight off the dock and
hadn't yet had a chance to have ntp sync the clock to the correct time because,
To avoid these problems, you can use Puppet’s dry run mode (also called
noop mode,
for ‘no operation’
puppet agent --test --noop
在 2012年2月24日 下午11:15,Jos Houtman 写道:
> We have a stable environment and an evironment for every developer.
> Upon changes we manually test the change using the differ
Hello,
As the subject described, I tried to retrieve a file from linux master
to windows agent with the init.pp below :
class test {
file { “C:/ProgramData/testfile.txt”:
ensure => present,
mode => 0644,
owner => test,
group => Administrators,
source => “puppet:///modules/
Hi,
> I'm looking to see if there's a way that I can set up a class on my
> puppetmaster node to loop through all of the defined nodes and add a
> hosts entry for the internal IP. I think I'm good with the actual
> adding of the entry, but I'm curious as to how to get access to all
> defined
49 matches
Mail list logo