Displaying 20 results from an estimated 10000 matches similar to: "Unrecognised escape sequences"
2007 Aug 07
2
"Unrecognized escape sequence" from puppetmaster
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I''m using the "delete_lines" definition from
http://reductivelabs.com/trac/puppet/wiki/SimpleTextRecipes . However,
when I use it to remove a line with the pattern "/proc/kmsg" I need to
escape the slashes for sed/grep and so I end up with "\/proc\/kmsg", but
then I get this notices in the log of
2011 May 02
2
exec resource: negate onlyif condition
Hi,
today I''m stupid. How can I negate the test for execs onlyif?
I want to run the exec onlyif command returns 1.
regards, Andreas
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2001 Jan 24
3
0.0.3d-e: JFS: Unrecognised features on journal
I updated my kernel from 0.0.3d to 0.0.3e using the "d-e" patch in the
0.0.3e tarball. When I try to boot the new kernel on a machine with
an ext3 root filesystem I am getting the message:
JFS: Unrecognised features on journal
Does this sound feasible or even somewhat expected? Is there any
interest in me doing some debugging of this?
Is there any way to deal with this without
2007 Mar 20
2
0.22.2 bug?
Hi,
I''ve just installed 0.22.2 and believe I''ve discovered a bug (or oversight).
I have an exec like this:
exec { "change-to-local-mirror":
command => "sed -i ''s#\(KERNEL_REPO.*=\).*#\1
$mirror#'' ${rulefile}",
path => "/usr/bin:/usr/sbin:/bin",
2011 Nov 01
12
What's the canonical way to enforce permissions/ownership on a directory subtree?
I''ve just tried this (we assume /opt/jetty-6.1.26 already exists):
file { "/opt/jetty-6.1.26":
owner => "jetty",
group => "users",
recurse => true,
}
... but it''s taking an *age*. What''s the Right Way?
Cheers, Robert.
--
You received this message because you are subscribed to the Google Groups
2016 Oct 29
3
-e escape rule
On Fri, Oct 28, 2016 at 5:39 AM, Samuel Williams <
space.ship.traveller at gmail.com> wrote:
> Rsync passed the backslashes through without dealing with them.
>
Yeah, it only does space-splitting and that's all it will ever do. It still
looks to me like there is a bug in the original escaping, since any command
receiving that string is receiving a backslash that is not supposed
2013 Apr 19
12
How to pass puppet/hiera veriable to external script ? Do I need to ?
Hi,
I have a problem with running puppet with hiera based data. I am trying to
cleanup
user accounts on a range of servers (to have the same uid/gid). When I
create existing account
but with different uid/gid it doesn''t change files group ownership so I
need to
run a script which cleanups after cleanup ;-)
I use the following code:
---
:backends:
- yaml
:hierarchy:
-
2009 Jun 16
1
turning off escape sequences for a string
Hello,
I would like to create a matrix with one of the columns named
$\delta$. I have also created columns $\beta_1$ , $\beta_2$, etc.
However, it seems like \d is an escape sequence which gets
automatically removed. (Using these names such that they work right in
xtable -> latex)
colnames(simpleReg.mat) <- c("$\beta_1$","$SE(\beta_1)$", "$\beta_2$",
2011 Apr 15
15
Installing port on FreeBSD
New user trying to get a port to compile: I tried searching but all I
get are links to the FreeBSD port of puppet. Easier to find a needle
in a haystack.
A class has:
exec { "port-sudo":
cwd => "/usr/ports/security/sudo",
environment => "BATCH=yes",
command => ''/bin/sh -c "/usr/bin/make
2006 Jan 10
1
Helix and unrecognised streams.
Kind of an interim release, I have a copy of the Helix/RealPlayer Ogg
plugin working in the presence of unrecognised streams,
<href="http://www.srcf.ucam.org/~ibm21/omd_players/index.html#hxplugin>
The patches won't go into Helixcommunity until I've put in a joint
copyright document (and the stream end strategy patch still needs to
be completed), but they can be GPLed so if
2008 Apr 07
2
"\0" gives no warning "unknown escape sequence" (PR#11107)
Full_Name: Volkmar Klatt
Version: 2.6.2
OS: linux
Submission from: (NULL) (84.147.0.178)
Hello,
the documentation article
?Quotes
from package:base could be improved by discussing
the meaning of "\0" escape sequence.
In R (currently used: R-2.6.2), a "\0" in a string will
silently terminate that string, just as it would in C code.
There is no warning about an unknown escape
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
2012 Apr 25
5
exec's onlyif parameter fails for a bash one-liner
I would like to ''exec'' an installation script ''onlyif'' an installation
directory is empty. I tried using following bash one-liner however it
didn''t work:
<code>
exec{$one_install_script:
require => File[$one_install_script],
onlyif => "[ \"$(/bin/ls -A $one_location)\" ] && exit 1 || exit
0"
}
2011 Jun 15
2
Escape sequence in eval ()
Hello,
I am wondering how to get the quotation marks into a variable expression. I
can't escape it with the backslash \ ...
Example:
I can access my data frame via
TABLE$"2011-01-02"$columnD
Now I want to do this automatically.. (with a for loop)..
a <- TABLE
b <- " \"2011-01-02\" "
c <- "columnD"
acessmytable <-
2011 Apr 21
6
ssh_authorized_key fails when home directory doesn't exist
Here is my situation:
1. We use Active directory (LDAP) to store all user info which is retrieved from linux
2. A home directory is not created until the first time the user logs into the linux system
I am using the ssh_authorized_key type to push out my ssh keys to every system. However, because I haven''t logged into every system at least once. Puppet errors out due to a missing
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
2011 Jul 17
3
gsub() with unicode and escape character
Dear helpers,
I'm trying to replace a character with a unicode code inside a data
frame using gsub(), but unsuccessfully.
> data.frame(animals=c("dog","wolf","cat"))->my.data
> gsub("o","\u0254",my.data$animals)->my.data$animals
> my.data$animals
[1] "d??g" "w??lf" "cat"
It's not that a data
2016 Oct 29
2
-e escape rule
> The point is that the original escaping DOUBLE escapes an equals sign:
> foo\\\=bar
> It shouldn't, there's no reason to.
If you paste into your command line:
rsync -e ssh\ -l\ backup\ -i\ /etc/synco/id_rsa\ -o\
ConnectTimeout\\\=60\ -o\ BatchMode\\\=yes
The list of arguments would be (i.e. the values in ARGV):
['rsync', '-e', 'ssh -l backup -i
2011 Jul 14
0
Note about guestfish escape sequences
I've pushed this patch in response to a user request to
make it easier to write newlines and other characters
in guestfish:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=617e7f6bafa7de2303c08e1715004aae3141c389
This lets you write:
><fs> write /file "this is a line\n"
and have it do what you'd expect. (With current guestfish, this
writes backslash
2016 Oct 21
2
-e escape rule
Hi Dave, thanks for point that out. I didn't realise there was a
detailed explanation of that field in the man page, I only saw the
summary. Yes, that clearly explains how it's supposed to work.
On 21 October 2016 at 01:46, Dave Howorth <dhoworth at mrc-lmb.cam.ac.uk> wrote:
> On 2016-10-20 10:24, Samuel Williams wrote:
>>
>> Hello,
>>
>> I'm using