This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mock Version: 1.2.4 | |
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-foreman_openscap.spec'], chrootPath='/home/dcleal/.mock/var/foreman-scl-7-x86_64-dcleal-30508/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.utf8', 'LD_PRELOAD': '/tmp/tmpAFMWJ0/$LIB/nosync.so', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x7f3ff11ef5d0>uid=1000) | |
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-foreman_openscap.spec'] with env {'LANG': 'en_GB.utf8', 'LD_PRELOAD': '/tmp/tmpAFMWJ0/$LIB/nosync.so', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-09-23T12:33:07 [sql] [D] SQL (0.1ms) DELETE FROM "lookup_values" WHERE "lookup_values"."id" = ? [["id", 57]] | |
2015-09-23T12:33:07 [app] [D] Called from: | |
| /home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-3.2.21/lib/active_support/log_subscriber.rb:93:in `call' | |
| /home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-3.2.21/lib/active_support/notifications/fanout.rb:47:in `publish' | |
| /home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-3.2.21/lib/active_support/notifications/fanout.rb:25:in `block in publish' | |
| /home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-3.2.21/lib/active_support/notifications/fanout.rb:25:in `each' | |
| /home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-3.2.21/lib/active_support/notifications/fanout.rb:25:in `publish' | |
| /home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-3.2.21/lib/active_support/notifications/instrumenter.rb:25:in `instrument' | |
| /home/dcleal/.rvm/gems/ruby-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
Module: Access | |
Parses /etc/security/access.conf | |
Author: Lorenzo Dalrio <lorenzo.dalrio@gmail.com> | |
About: Reference | |
Some examples of valid entries can be found in access.conf or "man access.conf" | |
About: License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spec/unit/provider/augeas/augeas_spec.rb b/spec/unit/provider/augeas/augeas_spec.rb | |
index 693e33e..b8aade2 100755 | |
--- a/spec/unit/provider/augeas/augeas_spec.rb | |
+++ b/spec/unit/provider/augeas/augeas_spec.rb | |
@@ -373,8 +373,7 @@ describe provider_class do | |
augeas_stub = stub("augeas") | |
augeas_stub.expects("set").with("/augeas/save", "newfile") | |
augeas_stub.expects("save").returns(true) | |
- augeas_stub.expects("get").with("/augeas/events/saved").returns([]) | |
- augeas_stub.expects("match").with("/augeas/events/saved").returns([]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rexml/document' | |
Puppet::Type.type(:ha_crm_property).provide(:crm) do | |
def create | |
lazy_crm_attribute "-t", "crm_config", "-n", resource[:name], "-v", resource[:value] | |
end | |
def destroy | |
lazy_crm_attribute "-t", "crm_config", "-n", resource[:name], "-D" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* pagesize: reads the page size for a virtual memory address of a given pid */ | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
int main(int argc, char** argv) { | |
if (argc != 3) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Uploads a list of radio stations into an Onkyo receiver's web page | |
# Tested with a TX-NR509. | |
# | |
# Supply the list as "NAME=URL" lines on stdin. | |
# | |
# Copyright (c) 2011 Dominic Cleal <dominic@computerkb.co.uk> | |
# Released under the MIT licence. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include b # works | |
include c # 'broken', shows warning | |
define a($x) { | |
exec { "A-$x": | |
command => "/bin/echo $x", | |
} | |
if $require { | |
Exec["A-$x"] { require +> $require } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec { "foo": | |
command => "/bin/echo foo", | |
} | |
file { "/tmp/test": | |
ensure => link, | |
replace => true, | |
target => "/tmp/foo", | |
force => true, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quoting.pp: | |
$node = "foo" | |
augeas { "set-entry": | |
context => "/files/etc/sysconfig/network", | |
changes => [ | |
"set INLINE[. = '\"$node\"'] '\"$node\"'", | |
], | |
} | |
augeas { "set-erb": |