Displaying 20 results from an estimated 1000 matches similar to: "How is defined() used?"
2007 Jun 08
5
website down ?
seems that the tracksite is down ?
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Jun 13
3
trigger configuration run remotely
I was wondering how to trigger a configration run remotely. Is this
possible? Looking through the docs, I see mention that puppet can listen
on port 8139, but I don''t see that this is the case on my servers. Can
someone please enlighten me as to the proper method of doing this, if it
can indeed be done?
Thanks!
2007 Jul 02
3
0.23.0 puppet dependancy issue
Hello,
I use some define in classes like
class foo {
define bar() {}
}
before in .22.4 i had require => Bar[''mybar''] on object and it worked.
Now i have :
err: Could not apply complete configuration: Could not retrieve
dependency ''Shorewall-realize[shorewall.conf]'' at
/etc/puppet/manifests/classes/shorewall.pp:
for exemple. Do anyone knwo why it
2007 Oct 26
3
freebsd service management redux
After reading the rc.subr(8) man page and Newburns''s article on the rc.d subsystem[1],
It''s clear that a rc.conf.d per service file structure is already natively supported on
FreeBSD.
I''ve verified this with my own testing:
# echo puppetmasterd_enable=\"YES\" > /etc/rc.conf.d/puppetmasterd
# /usr/local/etc/rc.d/puppetmasterd start
Performing sanity check
2007 Jun 05
3
custom type, recipe, how to solve this ?
Hi,
I have a little trickky thing i wanted to do with puppet, mainly this
is configuring web host on servers. I have a tree like this :
NODE
- WEB
-APACHE
- 1.x
- 2.x
- FTP
- VSFTP
- PROFTPD
- STATS
-AWSTATS
- if FTP then configure awstats for awstats
- URCHIN5
So my issue is that i want to be able to have
2007 Feb 14
6
various ordering issues in puppet manifests
Hello,
The more complicated my puppet scripts gets, the more ordering issue i meet. Here is a simple thing:
I use a default backup policy for the nodes in my backup classe and then, in the node i try to override the defined
default but even if they are done one after the other i got an error to say that the override is triggered before the
default:
include backup
2007 Mar 29
7
Refering to node name (or part of node name) in a class / function
Hi,
I was wondering if it is possible to gain access to the nodename as a
variable, in order to refer to the name or part of it inside a class.
Eg: I have a lot of sites that essentially have the same configuration,
except they are in different domains and have different requirements for
things like resolv.conf. I can manage this by creating a node definition
for each node and specifying some
2007 Apr 18
20
dependency and communication between defined classes
Hi,
i wanted to know how you handle case when classes or define need to
communicate between them. For exemple i got an ftpd define and a
apachevhost define. Both need to know the path where the vhost is set
and this path is defined by the ftpuser home''s directory. How can i ask
information from other define or other classes ? we allready seen that
tag are not reliable as they
2007 Apr 18
14
puppet does not speak french ;)
i got a little idea there,
should not puppet use environement LANG=C when managing facts or
packages etc... ?
i have LANG=fr_FR.UTF-8
and puppet choke on quite a few facts (erors messages with uname for
exemple: Pour en savoir davantage, faites: « uname --help ».
) and also with packages updates :
/usr/bin/apt-cache policy mysql-client-4.1
=>
err:
2006 Nov 02
6
certificate not trusted
Hello,
I try to install puppet on freebsd 6.X. All is well but i cannot get
the certificte to install and be recognized. I run .19.3.
I run the puppetd --test --waitforcert 60
then sign
and then i got:
err: No certificate; running with reduced functionality.
info: Creating a new SSL key at
/usr/local/.aqadmin/puppet/conf/ssl/private_keys/xxxxxxxxxxxxxx.pem
info: Creating a new certificate
2007 Apr 30
25
escape regex code
hello,
i wondered if it would not be interesting to have some filters
function in puppet like
filter_integer(), filter_prelregex, filter_text, filter_email or such
so we can validate and make our defines a little more foolproof :)
i particulary see filter_regex as usefull in quite a lot of exec that
manipulates text files. What do you think about this ?
--
Cordialement,
Ghislain
2007 Feb 08
16
exported ressources
Hello,
i wanted to know if we can use exported ressrouces to do things like this:
- for all nodes tagged as xxx create on the node yyy a file which content is a template where we can have each hostname
, or create one file per nodes matching
exemple
/etc/hosts.allow
sshd: host1
sshd: host2
...
or
/etc/backuppc/host1
/etc/backuppc/host2
...
from the docs it seems i can collect only ALL
2007 Apr 21
14
cron and name with ''.''
I dont know if i am missleaded but it seems to me that the cron type
does not accept names with a ''.'' in it ? I tried to add a cron with a
name cron1-$domainename and it does not accept it. If i remove the ''.''
in the domain it work. I am using .22.3 anyone seeing the same behavior
? If yes i will fill it as a bug.
--
Cordialement,
Ghislain ADNET.
AQUEOS.
2007 Jan 07
6
0.22.0 Errata: Facts are not downcased
I forgot to mention this in my announcement yesterday.
Puppet facts are no longer downcased in the language, and string
comparisons now default to being case-insensitive. Where your
operating system might previously have been ''solaris'' or ''debian'', it
is now ''Solaris'' or ''Debian''. However, you can still do comparisons
2007 May 30
16
Shorewall recipe BETA, need comments !!
Hello community !
I have posted here my shorewall recipe:
http://reductivelabs.com/trac/puppet/wiki/AqueosShorewall
If anyone is interested please test and comment to see if we can
improve it ! :)
I also updated my facter recipe for VERIO vps servers if anyone
interested... :)
http://reductivelabs.com/trac/puppet/wiki/AqueosFacterVps
Hope that helps !
--
Cordialement,
Ghislain
2006 Aug 31
1
Log level
Hello there,
I wanted to know if there is a way to change the log verbosity for a
node. I wanted to be able to shutdown logs for most host but be able to
re-enable them when i meet problems on one server. It seems to me that
the log verbosity can only be changed on each type. This would lead to a
rather complex setting of loglevel in EACH type followed by a variable
defined in the node. I
2006 Dec 12
2
OpenSSL 0.9.7e-p1 25 Oct 2004
Hello,
As i still have issue i wonder if anyone using this version of openssl
? OpenSSL 0.9.7e-p1
I still cannot make puppet accept Certificate on freeBSD6 with this
openssl version. I got the famous
error 7 at 1 depth lookup:certificate signature failure
and i havent find a way to get around that :(
--
Cordialement,
Ghislain
_______________________________________________
2007 Feb 01
7
lockdir parameter
it seems that puppet refuse to run in the new version. It fails on the line:
err: Could not apply complete configuration: Unknown configuration parameter :lockdir
the client is .22.1 and server still .22.0
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2006 Dec 11
3
request an object
Hello,
I use a type i just written that install apache basicaly it is httpd
and you provide the version (it is just a wrapper to the packets system)
. I wanted to tell another type, the vhosts one that i required that
this node defines the httpd type and that the vhosts type is allways
called AFTER the httpd type.
node ''mynode'' {
httpd{ version =>
2007 Jan 25
3
overriding file in a class
Hello,
i use a file type to manage sysctl.conf. For some work i override this file by doign File[''/etc/sysctl.conf''] and i
have an exec refresh only to run sysctl -p so it reread the sysctl.conf file if changed.
My issue is that at each run i got, i start in state when i see the overriden one on the server:
1st run, i have the basic sysctl.conf not the ovveriden one