Displaying 20 results from an estimated 50000 matches similar to: "Puppet and installing packages from source"
2012 Jul 03
6
Using onlyif
Here''s what I''m using:
exec { "cert-fix":
command => "curl http://curl.haxx.se/ca/cacert.pem -o
/etc/pki/tls/certs/ca-bundle.crt",
onlyif => "test -e /etc/pki/tls/certs/ca-bundle.crt",
}
But it keeps on failing:
> [default] Running Puppet with /tmp/vagrant-puppet/manifests/acid.pp...
> Parameter onlyif failed: ''test -e
2005 Jun 22
3
block p2p: ARES
Hi....
I''m trying to setup a LAN router with P2P filter
but the problem is that can''t "catch" Ares.
There is a way to DROP "ares" p2p packets ?
I''ve tried with last "ipp2p" snapshot without sucess...
I''ve
Kernel 2.4.28
iptables 1.3.0
Various Patches from patch-o-matic-ng-20040621
iproute2-ss020116
IMQ Patch
Esfq Patch
2006 Feb 23
7
ipp2p don''t block Ares
HI
I have a bridge running ipp2p blocking Ares traffic and others protocols.
This bridge works fine buts since two weeks can''t block Ares traffic. All
protocols block fine but Ares not (upload and download).
Somebody are using ipp2p blocking the latest Ares version ?
My system settings are:
kernel : 2.6.13
iptables: 1.3.3
ipp2p: 0.81 rc1
iptables -L -v output:
Chain FORWARD
2007 Nov 28
13
What to call a class: Manifest? Configuration? ResourceContainer?
Hi all,
I''ve got a new class in the current code, which I''ve been calling
Configuration but Matt reasonably thinks is horrible.
He is recommending the name Manifest, and I figured I''d see what
others thought.
The point of the class is to function as a resource container -- it
keeps a reference to all of the resources we''re managing, and knows
how to
2012 Feb 14
4
How to escape exec command parameters?
If I have a "simple" variable value, this works fine:
capmon@peter:~> puppet -e ''$v="xyz" exec { f: command => "/bin/echo v
is $v", logoutput => true }''
notice: /Stage[main]//Exec[f]/returns: v is xyz
notice: /Stage[main]//Exec[f]/returns: executed successfully
But how do I escape "bad" values of $v? Painful examples like the
2007 Jan 11
2
Voicemail IMAP
I know some of this doesn't belong on this list, but I am just
including it for problem history.
I am trying to setup IMAP Voicemail with our email server.
We are using a non-standards based groupware server called FirstClass.
The server has some built in support for IMAP.
My problem seems to be that the authuser flag is not supported.
When I use mtest in the imap toolkit to connect to
2011 Nov 11
2
Puppet Windows: test if non-MSI package already installed
Hello Puppet Cohorts,
I wish to install programs on Windows that do not use the MSI installer.
After finding a guide on-line for silencing most installers
(http://unattended.sourceforge.net/installers.php) I feel confident I can
write a short script for Puppet to "exec" on my hosts to silently install
most of what I need.
What I can''t decide on a "best" way to test
2005 Sep 22
5
p2p: ARES
Hi,
I''ve a linux as router nat + firewall
(POLICY DROP for INPUT OUTPUT and FORWARD)
but, I''ve put next rules for p2p software
on FORWARD chain
[... snip ... ]
iptables -F FORWARD
iptables -P FORWARD DROP
iptables -A FORWARD -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -p tcp --dport 25 -j ACCEPT
[... snip ... ]
iptables -A FORWARD -m ipp2p --ipp2p -j ACCEPT
iptables -A
2006 Aug 14
2
enable p2p to some host (ipp2p)
Hi
I using ipp2p to block p2p traffic.
How to enable to use p2p to me host in my net ?
I using this setup:
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul --ares -j DROP
This setup:
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
--ares -d ! mynet -j DROP
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
--ares -s ! mynet -j DROP
not
2007 Jul 05
10
Does Puppet ensure that a service is up and running?
Just curious as to the functionality of puppet. Does Puppet ensure that a service is up and running as long as puppet is running?
Ie, I want to make sure ssh is always running, if for some reason ssh get''s shut down, does puppet start it back up when it does it''s config sync run?
Thanks!
---------------------------------
Pinpoint customers who are looking for
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
Hello All,
So I finally got around to start to cut over node definitions
from standard flat files to external nodes (foreman), and getting
error message: "Error 400 on SERVER: Could not find node ''nodename'';
cannot compile" - So basically it can''t pick up the node from the
external node config.
When I test the fetching of the yaml file it seems to work
2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi,
I try install python-psycopg2 with other packages, when run apt-get -y
update returns the errors:
err: /Stage[main]/Etc/Package[build-essential]/ensure: change from
purged to present failed: Could not set ''present on ensure: Read-only
file system - /tmp/puppet20120216-1063-18q7lsz-0 at
/tmp/vagrant-puppet/manifests/vagrant.pp:15
err:
2009 Jul 18
15
large file download, timeout?
Hi. I''m a beginner, but I have a basic puppet setup working. I am
doing a manual tarball installation and it seems to be hanging then
eventually timing out on just downloading the file:
file { "/opt/hadoop-0.20.0.tar.gz":
source => "puppet:///hadoop020/hadoop-0.20.0.tar.gz"
}
I have another module that does the same things and works, my only guess
2010 Jun 17
6
Foreman / external_node.rb
Hello All,
I''m trying to start using external nodes under foreman, and I''m
running into some issues. I have the entries in puppet.conf:
[main]
external_nodes = /etc/puppet/external_node.rb
node_terminus = exec
The enternal_node.rb script is the one that came with foreman:
#!/usr/bin/ruby
# a simple script which fetches external nodes from Foreman
# you
2012 Oct 02
3
PROBLEM : Cannot require an Exec
hello:
i currently am using Puppet to run some commands in a sequence. there are
two sequences of exec resources. we found that we cannot use require =>
Exec and it does not work at all as expected. here is some sample code.
exec { "exec-AAA":
command => "/bin/true",
returns => 0,
notify => Exec["exec-BBB"],
}
exec { "exec-BBB":
2013 Feb 18
2
Dependency Ordering Confusion
I have a module for windows nodes that is defined like:
class ast_win {
Class[''ast_win::env''] ~> Class[''ast_win::restart''] -> Class[''ast_win'']
ast_win::env contains a bunch of scripts that modify the environment on the
host machine. Mostly the PATH variable, but also other variables (e.g.
http_proxy) that are required for
2013 Apr 04
5
Unable to set MySQL root password
Hi,
Using this module https://forge.puppetlabs.com/puppetlabs/mysql as
described on documentation:
class { ''mysql::server'':
config_hash => { ''root_password'' => ''foo'' }
}
But, couldn''t set password after logging getting error: Access denied for
user ''root''@''localhost'' (using password:
2013 Mar 06
22
Windows Remote Desktop Services (Could not find a suitable provider for dism)
Hello all
Was wondering if someone could help or advise where i''m going wrong
i''m trying to install Windows 2008 R2 Remote Desktop Services via Puppet
using either DISM or Powershell modules from the forge and getting the same
error
When using DISM
class roles::trm::remote_desktop_services {
dism { ''AppServer'':
ensure => present,
}
dism {
2013 Mar 14
4
exec resource not refreshed when subscribed resource changes
Hello,
I''ve created a little class which should unpack a 7z archive on Windows.
The class has a parameter for passing in the archive version, so that I can
trigger an update when a new version of the archive is available. A
simplyfied version looks like this (requires 7z):
class my_archive ($version = undef) {
file { ''version'':
path =>
2012 Aug 25
8
JBOSS installation and Configuration through puppet
Hi All,
I have puppet server and client ready. I found JBOSS module and manifests
under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and
imported it through git.
I am encountering these isse while I run :
http://pastebin.com/S67JqmSK
--
You received this message because you are subscribed to the Google Groups