Displaying 20 results from an estimated 7044 matches for "exec".
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":
refresho...
2009 Feb 11
3
What is going on?
...l = strsplit(s, ",", fixed=TRUE)
print("BEGIN")
n = length(l)
i = 1
while (i <= n) {
x = l[[i]]
print(paste("x:", class(x), x))
print("BEFORE PRINT")
print(x)
print("AFTER PRINT")
i = i + 1
}
</code>
<actual output>
[exec] [1] "BEGIN"
[exec] [1] "x: character 1" "x: character 2"
[exec] [1] "BEFORE PRINT"
[exec] [1] "1" "2"
[exec] [1] "AFTER PRINT"
[exec] [1] "END"
[exec] [1] TRUE
</actual output>
<...
2011 Oct 12
2
[LLVMdev] [llvm-testresults] bwilson__llvm-gcc_PROD__i386 nightly tester results
...ts Summary
>
> Status Group #
> Performance Regressions 17
> Performance Improvements 6
> Added Tests 2
> Unchanged Tests 938
> *Total Tests* *963*
>
>
> Changes Detail
>
> Performance Regressions Δ Previous Current σ
> MultiSource/Applications/aha/aha.exec 12.07% 3.5424 3.9698 0.0002
> MultiSource/Benchmarks/VersaBench/bmm/bmm.exec 11.38% 2.2970 2.5585 0.0007
> External/SPEC/CFP2000/179_art/179_art.exec 10.95% 1.4190 1.5744 0.0013
> MultiSource/Applications/JM/lencod/lencod.exec 6.81% 11.8149 12.6195 0.0267
> External/SPEC/CINT2006/458_sj...
2019 Apr 08
1
debian testing: Problems with R function vignette()
...d an vignette, and calls something like
vignette("mle2", package="bbmle")
the pdf file opens (for me in Foxit reader), no problem, but then emacs
starts to spew a lot of spam, interfering with the use of ess/R. A small
sample:
ScheduleTimerQuery called
GetDntDataTotal sql exec success
GetDntDataQueue sql exec success
SchedulePriorTracktype called
GetDntDataPriorQueue sql exec success
SchedulePriorTracktype called
GetDntDataPriorQueue sql exec success
SchedulePriorTracktype called
GetDntDataPriorQueue sql exec success
ScheduleTimerQuery called
GetDntDataTotal sql exec suc...
2011 Oct 12
0
[LLVMdev] [llvm-testresults] bwilson__llvm-gcc_PROD__i386 nightly tester results
Yes, they are real. I re-ran the two tests with the biggest execution time regressions, and the results were completely reproducible.
On Oct 12, 2011, at 1:24 AM, Duncan Sands wrote:
> Hi Bob, are these performance regressions real? They look pretty serious.
>
> Ciao, Duncan.
>
> On 10/12/11 09:40, llvm-testresults at cs.uiuc.edu wrote:
>&...
2011 Jan 12
1
change from notrun to 0 failed: returned 1 instead of 0
...$pkg = $hardwareisa ? {
"sparc" => "Iddmi_SunOS_sparc.pkg",
"i386" => "Iddmi_SunOS_i386.pkg",
default => undef,
}
$ftpsystems = "ftp.example.net/download"
# define path deafult for exec
Exec { path => "/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/local/sbin",
cwd => "/tmp",
}
case $operatingsystem {
"Solaris": {
exec { "HP_Disc_Agnt_Prep":
command => "wget -O $pkg...
2009 Aug 21
1
[PATCH server] update installer exec items to single_exec where applicable
...eipa.pp b/installer/modules/ovirt/manifests/freeipa.pp
index e5de852..f91cd43 100644
--- a/installer/modules/ovirt/manifests/freeipa.pp
+++ b/installer/modules/ovirt/manifests/freeipa.pp
@@ -29,12 +29,12 @@ class freeipa::bundled{
command => "/bin/hostname $ipa_host",
}
- exec {"set_kdc_defaults":
+ single_exec {"set_kdc_defaults":
command => "/bin/sed -i '/\[kdcdefaults\]/a \ kdc_ports = 88' /usr/share/ipa/kdc.conf.template",
require => Package[ipa-server]
}
- exec {&q...
2010 Mar 04
3
Dependency cycles, please help.
...e
---------------------------------------------
$apache2_sites = "/etc/apache2/sites"
$apache2_mods = "/etc/apache2/mods"
class apache2 {
[...]
define module ( $ensure = ''present'' ) {
case $ensure {
''present'' : {
exec { "/usr/sbin/a2enmod $name":
unless => "/bin/readlink
${apache2_mods}-enabled/${name}.load",
notify => Exec["force-reload-apache2"]
}
}
''absent'': {
exec { "/usr/sbin/a2...
2011 Mar 15
5
apache service start problem
...ot;php-mhash.$architecture",
"php-mysql.$architecture", "php-cli.$architecture",
"php-soap.$architecture", "php-xml.$architecture",
"mod_ssl.$architecture"]
package { $packagelist:
ensure => "installed"
}
exec { "create httpd dir":
command => "/bin/mkdir -p /etc/httpd",
creates => "/etc/httpd"
}
exec {"create apache module dir":
command => "/bin/mkdir -p /usr/lib/httpd/modules",
creates => "/usr/lib...
2009 Oct 29
8
conditional restart of service
I''m trying to have a exec dependency on a service object that would keep
it from being restarted if the exec fails. Unfortunately, the service
gets refreshed regardless whenever the exec is run, failure or not.
I''ve tried various combinations of subscribe/require/notify, but can''t
find an elegant way to...
2013 Feb 18
2
Dependency Ordering Confusion
...win::restart {
file {''RestartAgentBat'' :
ensure => file,
source => ''puppet:///modules/ast_win/restart_agent.bat'',
path => ''C:\programdata\puppet\restart_agent.bat'',
recurse => true,
mode => 0777,
}
exec {''restart_agent'':
cwd => ''C:\programdata\puppet'',
command => ''C:\programdata\puppet\restart_agent.bat'',
subscribe => File[''RestartAgentBat''],
refreshonly => true,
creates =>...
2014 Mar 10
0
when a puppet exec resource contains several "single commands", puppet exec only fails if the last exec command fails
exec {'test':
command => "/bin/ls /doesnotexit",
}
fails as expected:
Error: /bin/ls /doesnotexit returned 1 instead of one of [0]
Error: /Stage[main]//Exec[test]/returns: change from notrun to 0 failed:
/bin/ls /doesnotexit returned 1 instead of one of [0]
However,
exec {...
2004 May 11
3
MC
I've tried to install midnight commander on centos3.1 final. No luck in
installing it via yum install. When I download src.rpm from centos2 updates
SRPMS I couldn't rebuild it. RPM --rebuild mc*.src.rpm didn't work (no
rebuild option). What can I do then ?
Best Regards
Cooba
2013 Jun 04
1
exec failure doesn't abort whole puppet transaction
I have my puppet defined as (pseudo code)
class A {
exec { somethingA:
}
}
class B {
exec { somethinB:
}
}
Class[''A''] -> Class[''B'']
the exec{ somethingA: } is actually failed on my setup, I was expecting the
whole puppet transaction would fail. To my surprise, class B still got
executed, and p...
2012 Jan 07
3
How can I have a defined resource depend on a resource that is not in the global scope?
...o=''tcp'', $port, $source=undef) {
firewall { "100 input: $name":
chain => ''INPUT'',
proto => $proto,
dport => $port,
source => $source,
action => ''accept'',
}
}
I want it to notify an `exec`. However, the only way I could make this work
is if I make the `exec` in the global scope (i.e., importing in site.pp).
Otherwise, if I define the `exec` resource and do `require =>
Exec[''persist-iptables'']`, when the `iptables::hole` resource is defined,
it cannot find th...
2007 Mar 09
10
Add the ability to ''eval'' ruby code in exec type?
Hi,
Anyone think this is a good idea? I have found that there are some
exec tasks that I am making that just shell out to ruby to do a one /
two line script in the exec line, was thinking it would be nice to
have an option for exec to tell it to just eval ruby code passed to
it, e.g.
exec {
''eval: code to evaluate'':,
...
}
I know Lane wants users...
2013 Jul 18
2
Help building OPUS library using FIXED_POINT option
...ing something but please verify on your side and keep me posted about your results. I also attached the python file that list the files we are building for FIXED POINT and FLOATING POINT mode as well as our config.h file adapted from our SPEEX implementation.
Thanks,
-Antoine
BUILD LOG:
...
[exec] Compile x86 : 1 <= schur64_FIX.c
[exec] Compile x86 : 1 <= schur_FIX.c
[exec] Compile x86 : 1 <= solve_LS_FIX.c
[exec] Compile x86 : 1 <= vector_ops_FIX.c
[exec] Compile x86 : 1 <= warped_autocorrelation_FIX.c
[exec] StaticLibrary : lib0.a...
2012 Dec 13
2
[LLVMdev] failures in test-suite for make TEST=simple
I'm getting three failures.
TEST-FAIL: exec
/home/rkotler/llvmpb3/build/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.expandfft
TEST-RESULT-exec-time: user 0.3200
TEST-RESULT-exec-real-time: real 0.3172
TEST-FAIL: exec
/home/rkotler/llvmpb3/build/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.stepfft
TES...
2011 Sep 02
2
NUT 2.6.1+ Windows 2008 R2 - NOTIFYCMD not being called
Hi All,
I'm using a recent post 2.6.1 build provided by Fred (executables have modified date of 9th August)
I have configured upsmon.conf with :-
NOTIFYCMD C:\NUT\etc\NotifyCmd.bat
and :-
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
NOTIFYFLAG FSD SYSLOG+EXEC
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFL...
2003 Nov 23
1
agi exec problem (followup)
actually, i do have a workaround which bypasses the exec command entirely:
system("asterisk -r -x 'add extension s,3,Playback(demo-congrats) into local'");
but it's ugly. seems like it should be possible to do this with exec.
.t
---------- Forwarded message ----------
Date: Sun, 23 Nov 2003 21:17:50 -0500 (EST)
From: tad <tad@...