Displaying 20 results from an estimated 1000 matches similar to: "Package Source Definition"
2011 Apr 01
9
Puppet on Redhat 6
Hello
I have been using puppet for a while now, more or less successfully on
SLES 11 and CentOS 5.5
currently I am using puppet 2.6.6
I now am trying it out on redhat 6, and now i run into an problem with
even the simplest of modules/classes
The error I get is :
debug: /Stage[main]/Motd/File[/etc/motd]/content: Executing ''diff -u /
etc/motd
2008 Jan 18
2
latest yum break puppet
I have some systems running Fedora Core 7. The latest yum break puppet
with "Error: No matching Packages to list". I can make all the FC7 system
not to update Yum. However, when I start installing Fedora Core 8, the
default yum also break puppet.
(err): Failed to retrieve current state of resource: Could not get latest
version: Execution of ''/usr/bin/yum -d 0 -e 0
2010 Apr 12
10
Cron question
Hello,
Why the following lines doesn''t work?
cron { "app" :
command => ""nice -n -10 /usr/bin/php
/var/www/public_html/rotinas/rotinas.php 2>&1>> /var/log/app.log",
environment => "PATH=$PATH",
user => root,
hour => ''*'',
minute =>
2009 Mar 05
2
Visualizing puppet circular dependencies
I recently got a scary-looking circular dependency as a puppet error,
and it took some thought to decipher it.
Long story short, I fed it to graphviz, and the graph made it obvious
where the problem was. Thought I''d share, in case others are having
the same trouble. Code''s at http://gist.github.com/74566, and also
pasted below for convenience.
-- Philip
# Make sense of
2009 Mar 05
2
Exposing environment variables to Facter
Hey gang,
During the build of our Linux (EL4 and EL5) images, the kickstart
process writes out a file (/etc/sysconfig/soe) that contains:
SOE_VERSION="Version string"
SOE_BUILD_DATE="2009-03-06"
I then have /etc/profile.d/facter.sh scripts that has this:
. /etc/sysconfig/puppet
. /etc/sysconfig/soe
FACTER_PUPPETMASTER=$PUPPET_SERVER
FACTER_SOE_VERSION=$SOE_VERSION
2007 Dec 22
8
puppet with postgresql adapter
Hi all,
i'' m trying to configure puppet to use rails with postgresql. I'' m having
troubles to make it work. Got no error when running puppetmasterd but
nothing is being populated in the DB. Is anybody using puppet with postgres
?
my config (in puppet.conf)
[rails]
dbadapter = postgresql
dbname = mydb
dbserver = localhost
dbuser = user
dbpassword = password
2007 Dec 14
12
Manual package installation
Hello,
I use puppet with RHEL and there are some packages
that aren''t in up2date/yum repositories. I need a way
to get these specific RPMs installed.
There''s a blog posting that describes an
almost-perfect way to do it:
http://www.raskas.be/blog/2007/09/10/managing-user-passwords-with-puppet-on-centos/
The only problem with his example is that the RPM will
always in the /tmp
2008 Feb 15
17
centralized or decentralized puppet infrastructure
Hi All,
In my companies environment, we have multiple sites in multiple geographic
locations, sometimes with high latency between the sites.
I''m trying to come up with a solution that could provide puppet
infrastructure to all sites nodes.
----a few assumptions---
- puppet manifest / configuration is fetched from a centralized version
control system.
- store db is needed (ssh keys,
2007 Dec 08
6
Creating certificates with puppetca with puppet.example.com as CommonName
Greetings!
As you undoubtedly know, the fixes for CVE 2007-5162 in ruby break
installations where puppetca has created certificates with a CommonName
different from the server's real hostname. The Puppet clients quite correctly
complains about hostname mismatch.
A number of better and worse solutions have been suggested for this problem,
especially in ticket #896. IMHO, there are two good
2008 May 27
2
how to force a cycle package dependancy
Hi I''m trying to ensure ypbind and yp-tools are not installed BUT they
one of the rare group of rpms that require each other.
I have
package { "yp-tools":
ensure => absent,
require => Package["ypbind"],
}
package { "ypbind":
ensure => absent,
require =>
2009 Feb 17
3
Force puppet client reload?
Without changing the normal 30 minutes timer, I was wondering if there
was a way to have a puppet MASTER force a client to reload somehow?
Here is why - I am giving my help desk access to a webpage on a puppet
Master. It will allow them to edit a single file. I need that file to
update to the specific client as soon as it is saved. Because of
security issues, I can''t put the page on the
2007 Nov 28
6
SSL certificate state of the union
Hello there,
Since the update with ruby all my puppet function is dead (well known
issue with the cert) . There has been some discutions on the dev list on
how to patch this for future versions. I have read the list and wondered
how we can solve the issue while waiting for the .24. I am in beta test
of the .23.x version but on my production system i wanted to find a way
to solve this now
2007 Sep 26
2
SIP Panel?
Dear List,
Has anyone found or written a status panel application, windows or
linux, that uses SIP notifies and subscriptions, to gather the status of
SIP extensions from Asterisk?
And displsy nicely on a GUI?
--
Terence C. Giufre-Sweetser
Technical Support & Network Engineering
SkyMesh Pty Ltd
Licensed Telecommunications Carrier
ABN 62 113 609 439
47 Baxter Street
FORTITUDE VALLEY Q
2009 Dec 22
7
puppet, mongel, nginx and new nodes
Hey All,
This is probably a gotcha of some kind. That is to say I''ve missed a configuration somewhere. I''ve recently moved over to using mongrel as the puppet server type and having nginx proxy to one of four mongrel instances.
What I''m seeing though is that when I try to run a new node (one that has been created post moving to mongrel/nginx) is that it returns with the
2012 Mar 28
4
Could not load confine test 'operatingsystem': cannot load such file -- puppet/provider/confine/operatingsystem
Hello,
I''m having some trouble. I keep getting the following warnings when
trying to run:
$ puppet master --no-daemonize
/usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/
puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'':
iconv will be deprecated in the future, use String#encode instead.
Could not load confine test
2008 Aug 04
5
using running - should it always restart?
Hi,
I am fairly new to using puppet, but have it setup on 25 machines.
Just doing some basic configuration management. Recently I decided to
try working with updating some services config files and used the
ensure => running tags. My question is simple - if the source file
does NOT change and I use a subscribe, why does the system keep
restarting the daemon every time puppet runs?
A simple
2012 Jul 17
8
How to override $::operatingsystem fact
Hi,
I want to introduce "Proxmox" as new value in $::operatingsystem.
"Proxmox" is based on Debian, so the normal value is currently "Debian".
To change that, I just write a custom fact based on the facter fact
"operatingsystem"
Facter.add(:operatingsystem) do
> ...
> setcode do
> ...
> elsif
2007 Jul 03
3
$operatingsystem variable.
In the documentation, there is an example such as this:
case $operatingsystem {
sunos: { include solaris } # apply the solaris class
redhat: { include redhat } # apply the redhat class
default: { include generic } # apply the generic class
}
I''ve seen the $operatingsystem variable used elsewhere.
What actually puts the value into the $operatingsystem variable?
Does
2013 Sep 18
4
Not able to capture node info via browser
If I run below command on puppet master. I am able to get output pasted
here.
But the same information, I am trying to capture via browser using
http://puppetdb:8080/v2/facts/operatingsystem but not working
[root@puppetmaster ~]curl -X GET
http://puppetdb:8080/v2/facts/operatingsystem
curl: (6) Couldn''t resolve host ''puppetdb''
[root@puppetmaster ~]# curl -X
2006 Aug 03
3
Relationships between models.
Hi All,
I think Im having a mental block here. For some reason I just cant get
my head round relationships.
What I have is the following.
4 tables
1) Hosts
2) Software
3) OperatingSystem
4) Company
In my terms (which are most likely wrong) a company can have lots of
hosts, a host has lots of software, a host has one operating system.
So should my models have the following relations in them?