Displaying 20 results from an estimated 500 matches similar to: "Problem with iptables && ensure => running"
2008 Jan 22
2
Could not set file on ensure: undefined method `[]'' for nil:NilClass
Hi,
I had a working puppet setup using version 0.22 until the ruby security
patch bit me. I tried upgrading server and clients to 0.24.1 however my
old manifests don''t seem to work anymore. When I run puppetd on the
client I see lots of messages like:
err: //Node[waterbuck]/yumupdater/Remotefile[/etc/cron.hourly/yumupdater]/File[/etc/cron.hourly/yumupdater]/ensure: change from absent
2016 May 01
12
[Bug 1064] New: iptables-save fails silently in unprivileged lxc/lxd container
https://bugzilla.netfilter.org/show_bug.cgi?id=1064
Bug ID: 1064
Summary: iptables-save fails silently in unprivileged lxc/lxd
container
Product: iptables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component:
2007 Feb 15
4
Component/type defaults for 0.22.x
Has the component/type defaults syntax changed for 0.22.x?
I have a component:
<snip>
define remotefile($owner=root, $group=root, $mode, $source,
$backup=false, $recurse=false, $groupname="default") {
file {
$name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
2012 Dec 28
4
tincctl localhost timeout
First off, thanks to all who have made tinc possible and continue to work
developing it. I hope perhaps in time I can become a useful part of this
community. :) I'm having an interesting issue with tincctl and was hoping
someone could shed some light on it. Everything seems to work correctly when
I build for OSX; however on linux and windows builds, I always receive
connection
2017 Mar 30
4
[PATCH 0/3] p2v, v2v: Ensure the full version is always available in several places.
After debugging a virt-p2v issue with a customer in the middle of the
night on Tuesday, I felt it would have been helpful to know exactly
which version(s) of virt-p2v and virt-v2v they were using. That
wasn't very clear from the log file I was provided with, so this
change makes sure the information is included every time.
Rich.
2013 Oct 10
2
- problem with iptables
hi all,
I have a problem with iptables on CentOS 6.2.
I configured:
chkconfig iptables on
and the file /etc/sysconfig/iptables
if you reboot the machine configurations are not loaded.
iptables-L gives me the default configurations (not assigned)
if I (a machine booted): service iptables start then then it works.
how can I fix?
thanks in advance
2019 Feb 11
4
Samba and ufw
Louis,
Followed your instructions so far. Take a look at the output of the
various steps. I'm down to removing items form /etc/ufw. I'm not sure
what I should delete. I know some of the files are backups generated
after some rules were deleted. Please tell me what is safe to delete
before I procede further.
martin at radio:~$ sudo apt-get remove --purge ufw gufw
Reading package
2007 Feb 01
5
Interesting interaction between source and ensure in file definition in function...
Given the following:
file { "/my/file":
source => "puppet://server/path/to/some/file",
ensure => absent
}
Puppet will copy /my/file to the host.
What I was hoping was that ensure => absent would trump a source file.
However, if we change the above slightly like this:
file { "/my/file":
source =>
2006 Oct 29
1
warning: Deprecation notice: Resource references should now be capitalized?
Puppet 0.22.0 is complaining with "warning: Deprecation notice:
Resource references should now be capitalized on line 22 in file /etc/
puppet/manifests/classes/snmp.pp".
<snip>
remotefile {
"/etc/snmp/snmpd.conf":
mode => 444,
source => "system/snmp/snmpd.conf",
notify => service[snmpd] # this is
2011 Aug 03
18
[Bug 734] New: Iptables on Arm Processor with Vanilla Kernel
http://bugzilla.netfilter.org/show_bug.cgi?id=734
Summary: Iptables on Arm Processor with Vanilla Kernel
Product: netfilter/iptables
Version: linux-2.6.x
Platform: arm
OS/Version: Debian GNU/Linux
Status: NEW
Severity: critical
Priority: P5
Component: unknown
AssignedTo: netfilter-buglog at
2006 Sep 21
30
Using multiple values for source, for platform/arch/host configs
Hi, in an attempt to simplify my configuration, and from a suggestion
on IRC, I was thinking of using multiple values for file { source =>
[] }. Was just currious if anyone had any comments on this.
Basically, I setup my file-server to use:
<snip>
[private]
path /var/lib/puppet/files/private/%H
allow *
[shared]
path /var/lib/puppet/files/shared
allow *
2006 Nov 06
2
problem with remotefile definition
Hi,
I''m exploring Puppet and have hit a rather weird problem.
The puppetmaster server is running CentOS4, fully updated, with puppet
installed from the dlutter RPM repo, version 0.20.0-1.el4.
I tried adding the remotefile function definition from
http://reductivelabs.com/projects/puppet/documentation/installation.html
in /etc/puppet/manifests/utils/remotefile.pp but when I start
2007 Mar 07
8
Writing definitions to support changing defaults
What is the right way to write definition so that defaults can be overriden?
$puppetdir = "puppet://$server/files"
define remotefile($source, $owner = "root", $group = "root", $mode =
0644, $backup = false, $recurse = false) {
file { $name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
2006 Dec 18
1
$name causes weird behavior
I tried using $name in this manner:
remotefile { "/etc/auto_direct.local":
mode => 644,
source => "solall/$name"
}
(The remotefile function is handy, BTW)
When I use $name here, instead of specifying the actual path to the
file (solall/etc/auto_direct.local), puppetd ends up making
/etc/auto_direct.local an empty directory.
Shouldn''t $name
2006 Dec 21
7
Overriding types?
"Service and class definitions are scoped just as variable assignments are."
But what about types?
Here''s an example:
class solserver inherits server {
remotefile { "/etc/shadow":
mode => 400, group => staff,
source => "solall/etc/shadow.server"
}
Is it possible to just override the "/etc/shadow" definition for
2007 Jan 10
9
Definition specialization
There was a discussion a while ago about adding inheritance to
definitions. There is a need for a way to specialize parameters while
allowing passing other options. This comes up with remotefile where
it would be nice to have a default server location but not specify all
the parameters (and their defaults) in the definition.
Was there a change to the syntax? Is there a way to accomplish this?
2007 Mar 16
0
My updated remotefile
I recently update my remotefile definitions (others might have already done
so or have been using a better one than mine). I added an ensure parameter
so I could do overrides using remotefile rather than the underlying file:
define remotefile($owner = root, $ignore = ".svn", $group = root, $mode =
644, $source, $backup = false, $recurse = false, $ensure = file) {
$realsource =
2007 Feb 15
2
use of $name
Hello
The following chunk is within a class definition. ${name} is being
exchanged with an empty string:
remotefile { "/${server_xml}":
owner => tomcat, group => tomcat, mode => 600,
source => "${ftoe_src_prefix_dev}${name}.jvm1"
}
However in the following chunk, lower down in the same class
definition, ${name} is being exchanged
2006 Dec 13
3
FreeBSD Ports, remotefile() problem
Howdy,
Found out about this project while looking for via ONLamp''s FreeBSD
build system article. After finding cfengine a tad arcane, this project
seems like a good fit for my setup. I''m still at the tinkering phase,
but I envision this thing bootstrapping and maintaining several FreeBSD
installs which have different CPU''s and packages.
The Good News:
2007 Feb 10
1
Multipe file sources...
Hi,
I''m trying to use several sources to pick from in a remotefile
statement:
remotefile { "/etc/sudoers":
mode => 0440,
source => [
"config/apps/sudo/sudoers.${host}",
"config/apps/sudo/sudoers"
],
sourceselect => first
}
But it doesn''t seem to work. I get an error like this:
"File source