rouster 0.7 → 0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +0 -3
- data/README.md +7 -241
- data/Rakefile +18 -55
- data/Vagrantfile +8 -26
- data/lib/rouster.rb +183 -404
- data/lib/rouster/deltas.rb +118 -577
- data/lib/rouster/puppet.rb +34 -209
- data/lib/rouster/testing.rb +59 -366
- data/lib/rouster/tests.rb +19 -70
- data/path_helper.rb +7 -5
- data/rouster.gemspec +1 -3
- data/test/basic.rb +1 -4
- data/test/functional/deltas/test_get_groups.rb +2 -74
- data/test/functional/deltas/test_get_packages.rb +4 -86
- data/test/functional/deltas/test_get_ports.rb +1 -26
- data/test/functional/deltas/test_get_services.rb +4 -43
- data/test/functional/deltas/test_get_users.rb +2 -35
- data/test/functional/puppet/test_facter.rb +1 -41
- data/test/functional/puppet/test_get_puppet_star.rb +68 -0
- data/test/functional/test_caching.rb +1 -5
- data/test/functional/test_dirs.rb +0 -25
- data/test/functional/test_get.rb +6 -10
- data/test/functional/test_inspect.rb +1 -1
- data/test/functional/test_is_file.rb +1 -17
- data/test/functional/test_new.rb +22 -233
- data/test/functional/test_put.rb +11 -9
- data/test/functional/test_restart.rb +4 -1
- data/test/functional/test_run.rb +3 -2
- data/test/puppet/test_apply.rb +11 -13
- data/test/puppet/test_roles.rb +173 -0
- data/test/unit/test_new.rb +0 -88
- data/test/unit/test_parse_ls_string.rb +0 -67
- data/test/unit/testing/test_validate_file.rb +47 -39
- data/test/unit/testing/test_validate_package.rb +10 -36
- metadata +6 -46
- data/.reek +0 -63
- data/.travis.yml +0 -11
- data/Gemfile +0 -17
- data/Gemfile.lock +0 -102
- data/LICENSE +0 -9
- data/examples/aws.rb +0 -85
- data/examples/openstack.rb +0 -61
- data/examples/passthrough.rb +0 -71
- data/lib/rouster/vagrant.rb +0 -311
- data/plugins/aws.rb +0 -347
- data/plugins/openstack.rb +0 -136
- data/test/functional/deltas/test_get_crontab.rb +0 -161
- data/test/functional/deltas/test_get_os.rb +0 -68
- data/test/functional/test_is_in_file.rb +0 -40
- data/test/functional/test_passthroughs.rb +0 -94
- data/test/functional/test_validate_file.rb +0 -131
- data/test/unit/puppet/resources/puppet_run_with_failed_exec +0 -59
- data/test/unit/puppet/resources/puppet_run_with_successful_exec +0 -61
- data/test/unit/puppet/test_get_puppet_star.rb +0 -91
- data/test/unit/puppet/test_puppet_parsing.rb +0 -44
- data/test/unit/testing/resources/osx-launchd +0 -285
- data/test/unit/testing/resources/rhel-systemd +0 -46
- data/test/unit/testing/resources/rhel-systemv +0 -41
- data/test/unit/testing/resources/rhel-upstart +0 -20
- data/test/unit/testing/test_get_services.rb +0 -178
- data/test/unit/testing/test_validate_cron.rb +0 -78
- data/test/unit/testing/test_validate_port.rb +0 -103
@@ -1,131 +0,0 @@
|
|
1
|
-
require sprintf('%s/../../path_helper', File.dirname(File.expand_path(__FILE__)))
|
2
|
-
|
3
|
-
require 'rouster'
|
4
|
-
require 'rouster/puppet'
|
5
|
-
require 'rouster/testing'
|
6
|
-
require 'test/unit'
|
7
|
-
|
8
|
-
class TestValidateFileFunctional < Test::Unit::TestCase
|
9
|
-
|
10
|
-
def setup
|
11
|
-
# expose private methods
|
12
|
-
Rouster.send(:public, *Rouster.private_instance_methods)
|
13
|
-
Rouster.send(:public, *Rouster.protected_instance_methods)
|
14
|
-
|
15
|
-
@app = Rouster.new(:name => 'app')
|
16
|
-
end
|
17
|
-
|
18
|
-
def test_negative_functional_fallthrough
|
19
|
-
|
20
|
-
assert_equal(false, @app.validate_file('/foo', {}, false, true), 'when no expectation is specified, :ensure => present is assumed')
|
21
|
-
assert_equal(false, @app.validate_file('/fizzy', { :ensure => 'directory' }, false, true), 'standard DNE directory test')
|
22
|
-
assert_equal(false, @app.validate_file('/bang', { :ensure => 'file' }, false, true), '~standard DNE directory test')
|
23
|
-
|
24
|
-
end
|
25
|
-
|
26
|
-
# TODO tests
|
27
|
-
# :exists vs. :ensure -> what options are supported?
|
28
|
-
# :mode vs. :permissions
|
29
|
-
# :size
|
30
|
-
# :owner
|
31
|
-
# :group
|
32
|
-
# :constrain
|
33
|
-
|
34
|
-
|
35
|
-
def test_happy_basic
|
36
|
-
file = '/tmp/chiddy'
|
37
|
-
expectation = { :ensure => 'file' }
|
38
|
-
|
39
|
-
@app.run("touch #{file}")
|
40
|
-
|
41
|
-
assert_equal(true, @app.validate_file(file, expectation, false, true))
|
42
|
-
|
43
|
-
end
|
44
|
-
|
45
|
-
def test_happy_doesnt_contain
|
46
|
-
file = '/etc/hosts'
|
47
|
-
expectations = {
|
48
|
-
:ensure => 'file',
|
49
|
-
:doesntcontain => 'fizzybang.12345',
|
50
|
-
:notcontains => 'this.isnt.there.either'
|
51
|
-
}
|
52
|
-
|
53
|
-
assert_equal(true, @app.validate_file(file, expectations, false, true))
|
54
|
-
|
55
|
-
end
|
56
|
-
|
57
|
-
def test_happy_contains_string
|
58
|
-
file = '/etc/hosts'
|
59
|
-
expectations = {
|
60
|
-
:ensure => 'file',
|
61
|
-
:contains => 'localhost'
|
62
|
-
}
|
63
|
-
|
64
|
-
assert_equal(true, @app.validate_file(file, expectations, false, true))
|
65
|
-
|
66
|
-
end
|
67
|
-
|
68
|
-
def test_contains_array_ordering
|
69
|
-
|
70
|
-
file = '/etc/hosts'
|
71
|
-
|
72
|
-
expectation1 = {
|
73
|
-
:ensure => 'file',
|
74
|
-
:contains => [ 'localhost', 'foobar' ]
|
75
|
-
}
|
76
|
-
|
77
|
-
expectation2 = {
|
78
|
-
:ensure => 'file',
|
79
|
-
:contains => [ 'foobar', 'localhost' ]
|
80
|
-
}
|
81
|
-
|
82
|
-
[expectation1, expectation2].each do |expectation|
|
83
|
-
assert_equal(false, @app.validate_file(file, expectation, false, true))
|
84
|
-
end
|
85
|
-
|
86
|
-
end
|
87
|
-
|
88
|
-
def test_not_contains_array_ordering
|
89
|
-
file = '/etc/hosts'
|
90
|
-
|
91
|
-
|
92
|
-
expectation1 = {
|
93
|
-
:ensure => 'file',
|
94
|
-
:notcontains => [ 'localhost', 'foobar']
|
95
|
-
}
|
96
|
-
|
97
|
-
expectation2 = {
|
98
|
-
:ensure => 'file',
|
99
|
-
:notcontains => [ 'foobar', 'localhost' ],
|
100
|
-
}
|
101
|
-
|
102
|
-
[expectation1, expectation2].each do |expectation|
|
103
|
-
assert_equal(false, @app.validate_file(file, expectation, false, true))
|
104
|
-
end
|
105
|
-
|
106
|
-
end
|
107
|
-
|
108
|
-
def test_happy_symlink
|
109
|
-
file = '/tmp/bang'
|
110
|
-
|
111
|
-
@app.run("ln -sf /etc/hosts #{file}")
|
112
|
-
|
113
|
-
expectations = [
|
114
|
-
{ :ensure => 'symlink' },
|
115
|
-
{ :ensure => 'link' },
|
116
|
-
{ :ensure => 'link', :target => '/etc/hosts' }
|
117
|
-
]
|
118
|
-
|
119
|
-
expectations.each do |e|
|
120
|
-
# this is a weird convention, maybe reconsider the calling signature for validate_file
|
121
|
-
# thinking something like validate_file(expectations) instead of validate_file(file, expectations)
|
122
|
-
assert_equal(true, @app.validate_file(file, e, false, true))
|
123
|
-
end
|
124
|
-
|
125
|
-
end
|
126
|
-
|
127
|
-
def teardown
|
128
|
-
# noop
|
129
|
-
end
|
130
|
-
|
131
|
-
end
|
@@ -1,59 +0,0 @@
|
|
1
|
-
[0;36mDebug: Creating default schedules[0m
|
2
|
-
[0;36mDebug: Using settings: adding file resource 'clientyamldir': 'File[/home/vagrant/.puppet/var/client_yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/client_yaml"}'[0m
|
3
|
-
[0;36mDebug: Using settings: adding file resource 'lastrunreport': 'File[/home/vagrant/.puppet/var/state/last_run_report.yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :mode=>"640", :path=>"/home/vagrant/.puppet/var/state/last_run_report.yaml"}'[0m
|
4
|
-
[0;36mDebug: Using settings: adding file resource 'confdir': 'File[/home/vagrant/.puppet]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet"}'[0m
|
5
|
-
[0;36mDebug: Using settings: adding file resource 'ssldir': 'File[/home/vagrant/.puppet/ssl]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"771", :path=>"/home/vagrant/.puppet/ssl"}'[0m
|
6
|
-
[0;36mDebug: Using settings: adding file resource 'privatekeydir': 'File[/home/vagrant/.puppet/ssl/private_keys]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/ssl/private_keys"}'[0m
|
7
|
-
[0;36mDebug: Using settings: adding file resource 'client_datadir': 'File[/home/vagrant/.puppet/var/client_data]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/client_data"}'[0m
|
8
|
-
[0;36mDebug: Using settings: adding file resource 'statedir': 'File[/home/vagrant/.puppet/var/state]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"1755", :path=>"/home/vagrant/.puppet/var/state"}'[0m
|
9
|
-
[0;36mDebug: Using settings: adding file resource 'vardir': 'File[/home/vagrant/.puppet/var]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/var"}'[0m
|
10
|
-
[0;36mDebug: Using settings: adding file resource 'libdir': 'File[/home/vagrant/.puppet/var/lib]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/var/lib"}'[0m
|
11
|
-
[0;36mDebug: Using settings: adding file resource 'publickeydir': 'File[/home/vagrant/.puppet/ssl/public_keys]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/ssl/public_keys"}'[0m
|
12
|
-
[0;36mDebug: Using settings: adding file resource 'rundir': 'File[/home/vagrant/.puppet/var/run]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"755", :path=>"/home/vagrant/.puppet/var/run"}'[0m
|
13
|
-
[0;36mDebug: Using settings: adding file resource 'privatedir': 'File[/home/vagrant/.puppet/ssl/private]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/ssl/private"}'[0m
|
14
|
-
[0;36mDebug: Using settings: adding file resource 'statefile': 'File[/home/vagrant/.puppet/var/state/state.yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :mode=>"660", :path=>"/home/vagrant/.puppet/var/state/state.yaml"}'[0m
|
15
|
-
[0;36mDebug: Using settings: adding file resource 'clientbucketdir': 'File[/home/vagrant/.puppet/var/clientbucket]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/clientbucket"}'[0m
|
16
|
-
[0;36mDebug: Using settings: adding file resource 'lastrunfile': 'File[/home/vagrant/.puppet/var/state/last_run_summary.yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :mode=>"644", :path=>"/home/vagrant/.puppet/var/state/last_run_summary.yaml"}'[0m
|
17
|
-
[0;36mDebug: Using settings: adding file resource 'logdir': 'File[/home/vagrant/.puppet/var/log]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/log"}'[0m
|
18
|
-
[0;36mDebug: Using settings: adding file resource 'certdir': 'File[/home/vagrant/.puppet/ssl/certs]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/ssl/certs"}'[0m
|
19
|
-
[0;36mDebug: Using settings: adding file resource 'graphdir': 'File[/home/vagrant/.puppet/var/state/graphs]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/var/state/graphs"}'[0m
|
20
|
-
[0;36mDebug: Using settings: adding file resource 'requestdir': 'File[/home/vagrant/.puppet/ssl/certificate_requests]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/ssl/certificate_requests"}'[0m
|
21
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var]: Autorequiring File[/home/vagrant/.puppet][0m
|
22
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/certs]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
23
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
24
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/graphs]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
25
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/last_run_report.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
26
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/run]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
27
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/certificate_requests]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
28
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl]: Autorequiring File[/home/vagrant/.puppet][0m
|
29
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/last_run_summary.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
30
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/private_keys]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
31
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/client_data]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
32
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/client_yaml]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
33
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/clientbucket]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
34
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/private]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
35
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/public_keys]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
36
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/log]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
37
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/state.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
38
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/lib]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
39
|
-
[0;36mDebug: Finishing transaction 69859761088440[0m
|
40
|
-
[0;36mDebug: Loaded state in 0.00 seconds[0m
|
41
|
-
[0;36mDebug: Loaded state in 0.00 seconds[0m
|
42
|
-
[0;32mInfo: Applying configuration version '1427151219'[0m
|
43
|
-
[0;36mDebug: /Schedule[daily]: Skipping device resources because running on a host[0m
|
44
|
-
[0;36mDebug: /Schedule[monthly]: Skipping device resources because running on a host[0m
|
45
|
-
[0;36mDebug: /Schedule[hourly]: Skipping device resources because running on a host[0m
|
46
|
-
[1;31mError: Could not find command '/bin/bar'[0m
|
47
|
-
[1;31mError: /Stage[main]//Exec[bar]/returns: change from notrun to 0 failed: Could not find command '/bin/bar'[0m
|
48
|
-
[0;36mDebug: /Schedule[never]: Skipping device resources because running on a host[0m
|
49
|
-
[0;36mDebug: /Schedule[weekly]: Skipping device resources because running on a host[0m
|
50
|
-
[0;36mDebug: /Schedule[puppet]: Skipping device resources because running on a host[0m
|
51
|
-
[0;36mDebug: Class[Main]: The container Stage[main] will propagate my refresh event[0m
|
52
|
-
[0;36mDebug: Finishing transaction 69859760392420[0m
|
53
|
-
[0;36mDebug: Storing state[0m
|
54
|
-
[0;36mDebug: Stored state in 0.01 seconds[0m
|
55
|
-
[mNotice: Finished catalog run in 0.10 seconds[0m
|
56
|
-
[0;36mDebug: Using settings: adding file resource 'rrddir': 'File[/home/vagrant/.puppet/var/rrd]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/rrd"}'[0m
|
57
|
-
[0;36mDebug: Finishing transaction 69859760156920[0m
|
58
|
-
[0;36mDebug: Received report to process from centos6.internal.salesforce.com[0m
|
59
|
-
[0;36mDebug: Processing report from centos6.internal.salesforce.com with processor Puppet::Reports::Store[0m
|
@@ -1,61 +0,0 @@
|
|
1
|
-
[0;36mDebug: Creating default schedules[0m
|
2
|
-
[0;36mDebug: Using settings: adding file resource 'clientyamldir': 'File[/home/vagrant/.puppet/var/client_yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/client_yaml"}'[0m
|
3
|
-
[0;36mDebug: Using settings: adding file resource 'lastrunreport': 'File[/home/vagrant/.puppet/var/state/last_run_report.yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :mode=>"640", :path=>"/home/vagrant/.puppet/var/state/last_run_report.yaml"}'[0m
|
4
|
-
[0;36mDebug: Using settings: adding file resource 'confdir': 'File[/home/vagrant/.puppet]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet"}'[0m
|
5
|
-
[0;36mDebug: Using settings: adding file resource 'ssldir': 'File[/home/vagrant/.puppet/ssl]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"771", :path=>"/home/vagrant/.puppet/ssl"}'[0m
|
6
|
-
[0;36mDebug: Using settings: adding file resource 'privatekeydir': 'File[/home/vagrant/.puppet/ssl/private_keys]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/ssl/private_keys"}'[0m
|
7
|
-
[0;36mDebug: Using settings: adding file resource 'client_datadir': 'File[/home/vagrant/.puppet/var/client_data]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/client_data"}'[0m
|
8
|
-
[0;36mDebug: Using settings: adding file resource 'statedir': 'File[/home/vagrant/.puppet/var/state]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"1755", :path=>"/home/vagrant/.puppet/var/state"}'[0m
|
9
|
-
[0;36mDebug: Using settings: adding file resource 'vardir': 'File[/home/vagrant/.puppet/var]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/var"}'[0m
|
10
|
-
[0;36mDebug: Using settings: adding file resource 'libdir': 'File[/home/vagrant/.puppet/var/lib]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/var/lib"}'[0m
|
11
|
-
[0;36mDebug: Using settings: adding file resource 'publickeydir': 'File[/home/vagrant/.puppet/ssl/public_keys]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/ssl/public_keys"}'[0m
|
12
|
-
[0;36mDebug: Using settings: adding file resource 'rundir': 'File[/home/vagrant/.puppet/var/run]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"755", :path=>"/home/vagrant/.puppet/var/run"}'[0m
|
13
|
-
[0;36mDebug: Using settings: adding file resource 'privatedir': 'File[/home/vagrant/.puppet/ssl/private]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/ssl/private"}'[0m
|
14
|
-
[0;36mDebug: Using settings: adding file resource 'statefile': 'File[/home/vagrant/.puppet/var/state/state.yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :mode=>"660", :path=>"/home/vagrant/.puppet/var/state/state.yaml"}'[0m
|
15
|
-
[0;36mDebug: Using settings: adding file resource 'clientbucketdir': 'File[/home/vagrant/.puppet/var/clientbucket]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/clientbucket"}'[0m
|
16
|
-
[0;36mDebug: Using settings: adding file resource 'lastrunfile': 'File[/home/vagrant/.puppet/var/state/last_run_summary.yaml]{:loglevel=>:debug, :links=>:follow, :ensure=>:file, :backup=>false, :mode=>"644", :path=>"/home/vagrant/.puppet/var/state/last_run_summary.yaml"}'[0m
|
17
|
-
[0;36mDebug: Using settings: adding file resource 'logdir': 'File[/home/vagrant/.puppet/var/log]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/log"}'[0m
|
18
|
-
[0;36mDebug: Using settings: adding file resource 'certdir': 'File[/home/vagrant/.puppet/ssl/certs]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/ssl/certs"}'[0m
|
19
|
-
[0;36mDebug: Using settings: adding file resource 'graphdir': 'File[/home/vagrant/.puppet/var/state/graphs]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/var/state/graphs"}'[0m
|
20
|
-
[0;36mDebug: Using settings: adding file resource 'requestdir': 'File[/home/vagrant/.puppet/ssl/certificate_requests]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :path=>"/home/vagrant/.puppet/ssl/certificate_requests"}'[0m
|
21
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var]: Autorequiring File[/home/vagrant/.puppet][0m
|
22
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/certs]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
23
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
24
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/graphs]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
25
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/last_run_report.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
26
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/run]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
27
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/certificate_requests]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
28
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl]: Autorequiring File[/home/vagrant/.puppet][0m
|
29
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/last_run_summary.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
30
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/private_keys]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
31
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/client_data]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
32
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/client_yaml]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
33
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/clientbucket]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
34
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/private]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
35
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/ssl/public_keys]: Autorequiring File[/home/vagrant/.puppet/ssl][0m
|
36
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/log]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
37
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/state/state.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state][0m
|
38
|
-
[0;36mDebug: /File[/home/vagrant/.puppet/var/lib]: Autorequiring File[/home/vagrant/.puppet/var][0m
|
39
|
-
[0;36mDebug: Finishing transaction 69859761088440[0m
|
40
|
-
[0;36mDebug: Loaded state in 0.00 seconds[0m
|
41
|
-
[0;36mDebug: Loaded state in 0.00 seconds[0m
|
42
|
-
[0;32mInfo: Applying configuration version '1427151219'[0m
|
43
|
-
[0;36mDebug: /Schedule[daily]: Skipping device resources because running on a host[0m
|
44
|
-
[0;36mDebug: /Schedule[monthly]: Skipping device resources because running on a host[0m
|
45
|
-
[0;36mDebug: /Schedule[hourly]: Skipping device resources because running on a host[0m
|
46
|
-
[0;36mDebug: Exec[foo](provider=posix): Executing '/bin/echo foo'[0m
|
47
|
-
[0;36mDebug: Executing '/bin/echo foo'[0m
|
48
|
-
[mNotice: /Stage[main]//Exec[foo]/returns: executed successfully[0m
|
49
|
-
[0;36mDebug: /Stage[main]//Exec[foo]: The container Class[Main] will propagate my refresh event[0m
|
50
|
-
[0;36mDebug: /Schedule[never]: Skipping device resources because running on a host[0m
|
51
|
-
[0;36mDebug: /Schedule[weekly]: Skipping device resources because running on a host[0m
|
52
|
-
[0;36mDebug: /Schedule[puppet]: Skipping device resources because running on a host[0m
|
53
|
-
[0;36mDebug: Class[Main]: The container Stage[main] will propagate my refresh event[0m
|
54
|
-
[0;36mDebug: Finishing transaction 69859760392420[0m
|
55
|
-
[0;36mDebug: Storing state[0m
|
56
|
-
[0;36mDebug: Stored state in 0.01 seconds[0m
|
57
|
-
[mNotice: Finished catalog run in 0.10 seconds[0m
|
58
|
-
[0;36mDebug: Using settings: adding file resource 'rrddir': 'File[/home/vagrant/.puppet/var/rrd]{:loglevel=>:debug, :links=>:follow, :ensure=>:directory, :backup=>false, :mode=>"750", :path=>"/home/vagrant/.puppet/var/rrd"}'[0m
|
59
|
-
[0;36mDebug: Finishing transaction 69859760156920[0m
|
60
|
-
[0;36mDebug: Received report to process from centos6.internal.salesforce.com[0m
|
61
|
-
[0;36mDebug: Processing report from centos6.internal.salesforce.com with processor Puppet::Reports::Store[0m
|
@@ -1,91 +0,0 @@
|
|
1
|
-
require sprintf('%s/../../../path_helper', File.dirname(File.expand_path(__FILE__)))
|
2
|
-
|
3
|
-
require 'rouster'
|
4
|
-
require 'rouster/puppet'
|
5
|
-
require 'test/unit'
|
6
|
-
|
7
|
-
# this is technically a unit test, no need for a real Rouster VM
|
8
|
-
|
9
|
-
class TestGetPuppetStar < Test::Unit::TestCase
|
10
|
-
|
11
|
-
def setup
|
12
|
-
assert_nothing_raised do
|
13
|
-
@app = Rouster.new(:name => 'app', :unittest => true)
|
14
|
-
end
|
15
|
-
|
16
|
-
# expose private methods
|
17
|
-
Rouster.send(:public, *Rouster.protected_instance_methods)
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_happy_27_get_errors
|
21
|
-
|
22
|
-
output = "[1;35merr: Could not retrieve catalog from remote server: Error 400 on SERVER: no result for [api_vip] in Hiera (YAML/CMS)[0m\nfizzybang\n[1;35merr: Could not retrieve catalog from remote server: Error 400 on SERVER: no result for [foobar] in Hiera (YAML/CMS)[0m"
|
23
|
-
@app.output.push(output)
|
24
|
-
|
25
|
-
assert_not_nil(@app.get_puppet_errors())
|
26
|
-
assert_equal(2, @app.get_puppet_errors().size)
|
27
|
-
assert_equal(@app.get_puppet_errors(), @app.get_puppet_errors(output)) # tests that passed args is same as derived
|
28
|
-
|
29
|
-
assert_nil(@app.get_puppet_notices())
|
30
|
-
end
|
31
|
-
|
32
|
-
def test_happy_27_get_notices
|
33
|
-
|
34
|
-
output = "[0;36mnotice: Not using cache on failed catalog[0m\nfizzbang\n[0;36mnotice: Not using cache on failed catalog[0m"
|
35
|
-
@app.output.push(output)
|
36
|
-
|
37
|
-
assert_not_nil(@app.get_puppet_notices())
|
38
|
-
assert_equal(2, @app.get_puppet_notices().size)
|
39
|
-
assert_equal(@app.get_puppet_notices(), @app.get_puppet_notices(output))
|
40
|
-
|
41
|
-
assert_nil(@app.get_puppet_errors())
|
42
|
-
|
43
|
-
end
|
44
|
-
|
45
|
-
def test_happy_30_get_errors
|
46
|
-
|
47
|
-
output = "\e[0;32mInfo: Retrieving plugin\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/root_home.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/drac_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/sfdc-custom_facts.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/drac_fw_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/razor_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/oob_mac.rb\e[0m\n\e[1;31mError: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class razor for ops-tools1-1-piab.ops.sfdc.net on node ops-tools1-1-piab.ops.sfdc.net\e[0m\n\e[1;31mWarning: Not using cache on failed catalog\e[0m\n\e[1;31mError: Could not retrieve catalog; skipping run\e[0m\n"
|
48
|
-
@app.output.push(output)
|
49
|
-
|
50
|
-
assert_not_nil(@app.get_puppet_errors())
|
51
|
-
assert_equal(2, @app.get_puppet_errors().size)
|
52
|
-
assert_equal(@app.get_puppet_errors(), @app.get_puppet_errors(output))
|
53
|
-
|
54
|
-
assert_nil(@app.get_puppet_notices())
|
55
|
-
end
|
56
|
-
|
57
|
-
def test_happy_30_get_notices
|
58
|
-
|
59
|
-
output = "\e[0;32mInfo: Retrieving plugin\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/root_home.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/drac_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/sfdc-custom_facts.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/drac_fw_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/razor_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb\e[0m\n\e[0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/oob_mac.rb\e[0m\n\e[0;32mInfo: Caching catalog for ops-tools1-1-piab.ops.sfdc.net\e[0m\n\e[0;32mInfo: Applying configuration version '1385418175'\e[0m\n\e[mNotice: /Stage[main]/Razor::Service/Razor::Api[tag]/Exec[razor-api-tag]/returns: executed successfully\e[0m\n\e[mNotice: /Stage[main]/Razor::Service/Razor::Api[policy]/Exec[razor-api-policy]/returns: executed successfully\e[0m\n\e[mNotice: /Stage[main]/Razor::Service/Razor::Api[model]/Exec[razor-api-model]/returns: executed successfully\e[0m\n\e[mNotice: Finished catalog run in 33.76 seconds\e[0m\n"
|
60
|
-
@app.output.push(output)
|
61
|
-
|
62
|
-
assert_not_nil(@app.get_puppet_notices())
|
63
|
-
assert_equal(4, @app.get_puppet_notices().size)
|
64
|
-
assert_equal(@app.get_puppet_notices(), @app.get_puppet_notices(output))
|
65
|
-
|
66
|
-
assert_nil(@app.get_puppet_errors())
|
67
|
-
end
|
68
|
-
|
69
|
-
def test_no_errors
|
70
|
-
|
71
|
-
output = 'there are no errors here'
|
72
|
-
@app.output.push(output)
|
73
|
-
|
74
|
-
assert_nil(@app.get_puppet_errors())
|
75
|
-
end
|
76
|
-
|
77
|
-
def test_no_notices
|
78
|
-
|
79
|
-
output = 'there are no notices here'
|
80
|
-
@app.output.push(output)
|
81
|
-
|
82
|
-
assert_nil(@app.get_puppet_notices())
|
83
|
-
|
84
|
-
end
|
85
|
-
|
86
|
-
def teardown
|
87
|
-
# noop
|
88
|
-
end
|
89
|
-
|
90
|
-
end
|
91
|
-
|
@@ -1,44 +0,0 @@
|
|
1
|
-
require sprintf('%s/../../../path_helper', File.dirname(File.expand_path(__FILE__)))
|
2
|
-
|
3
|
-
require 'rouster'
|
4
|
-
require 'rouster/puppet'
|
5
|
-
require 'test/unit'
|
6
|
-
|
7
|
-
# this is a unit test, no need for a real Rouster VM
|
8
|
-
|
9
|
-
class TestGetPuppetStar < Test::Unit::TestCase
|
10
|
-
|
11
|
-
def setup
|
12
|
-
assert_nothing_raised do
|
13
|
-
@app = Rouster.new(:name => 'app', :unittest => true)
|
14
|
-
end
|
15
|
-
|
16
|
-
# expose private methods
|
17
|
-
Rouster.send(:public, *Rouster.protected_instance_methods)
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_with_successful_exec
|
21
|
-
title = 'foo'
|
22
|
-
input = File.read(sprintf('%s/../../../test/unit/puppet/resources/puppet_run_with_successful_exec', File.dirname(File.expand_path(__FILE__))))
|
23
|
-
|
24
|
-
|
25
|
-
assert(@app.did_exec_fire?(title, input))
|
26
|
-
end
|
27
|
-
|
28
|
-
def test_with_failed_exec
|
29
|
-
title = 'bar'
|
30
|
-
input = File.read(sprintf('%s/../../../test/unit/puppet/resources/puppet_run_with_failed_exec', File.dirname(File.expand_path(__FILE__))))
|
31
|
-
|
32
|
-
assert(@app.did_exec_fire?(title, input))
|
33
|
-
end
|
34
|
-
|
35
|
-
def test_looking_for_nonexistent_exec
|
36
|
-
title = 'fizzbang'
|
37
|
-
input = File.read(sprintf('%s/../../../test/unit/puppet/resources/puppet_run_with_successful_exec', File.dirname(File.expand_path(__FILE__))))
|
38
|
-
|
39
|
-
assert_false(@app.did_exec_fire?(title, input))
|
40
|
-
end
|
41
|
-
|
42
|
-
|
43
|
-
end
|
44
|
-
|
@@ -1,285 +0,0 @@
|
|
1
|
-
PID Status Label
|
2
|
-
- 0 com.apple.cfpreferences-xpcservice
|
3
|
-
- 0 com.apple.qtkitserver
|
4
|
-
- 0 com.apple.cmio.registerassistantservice
|
5
|
-
- 0 com.apple.DataDetectors.DataDetectorsActionService
|
6
|
-
- 0 com.apple.security.XPCKeychainSandboxCheck
|
7
|
-
- 0 com.apple.security.XPCTimeStampingService
|
8
|
-
1 - 0x7fd7e963fa00.anonymous.launchd
|
9
|
-
475 - 0x7fd7e963f700.anonymous.launchd
|
10
|
-
1867 - 0x7fd7e963f400.anonymous.lsboxd
|
11
|
-
- 0 com.apple.AppSandboxSMLoginItemEnabler
|
12
|
-
- 0 com.apple.XType.FontHelper
|
13
|
-
- 0 com.apple.hiservices-xpcservice
|
14
|
-
1 - 0x7fd7eb115060.anonymous.launchd
|
15
|
-
68 - 0x7fd7eb102ea0.anonymous.mds
|
16
|
-
1 - 0x7fd7e94135b0.anonymous.launchd
|
17
|
-
1793 - 0x7fd7e94132b0.anonymous.launchd
|
18
|
-
1796 - 0x7fd7e9412fb0.anonymous.distnoted
|
19
|
-
- 0 com.apple.security.pboxd
|
20
|
-
- 0 com.apple.audio.SandboxHelper
|
21
|
-
- 0 com.apple.appkit.xpc.sandboxedServiceRunner
|
22
|
-
- 0 com.apple.audio.InfoHelper
|
23
|
-
- 0 com.apple.automator.xpc.workflowServiceRunner
|
24
|
-
- 0 com.apple.audio.ComponentHelper
|
25
|
-
1 - 0x7fd7eb115680.anonymous.launchd
|
26
|
-
475 - 0x7fd7eb115380.anonymous.launchd
|
27
|
-
1385 - 0x7fd7eb114bb0.anonymous.storeagent
|
28
|
-
1 - 0x7fd7eb007700.anonymous.launchd
|
29
|
-
475 - 0x7fd7eb007400.anonymous.launchd
|
30
|
-
1374 - 0x7fd7eb007100.anonymous.Dash
|
31
|
-
- 0 com.apple.HasTRB
|
32
|
-
1 - 0x7fd7eb110a20.anonymous.launchd
|
33
|
-
475 - 0x7fd7eb110720.anonymous.launchd
|
34
|
-
1341 - 0x7fd7eb105ce0.anonymous.mdmclient
|
35
|
-
1 - 0x7fd7e94107b0.anonymous.launchd
|
36
|
-
475 - 0x7fd7e94104b0.anonymous.launchd
|
37
|
-
1343 - 0x7fd7e940bd10.anonymous.imagent
|
38
|
-
1 - 0x7fd7e940c9a0.anonymous.launchd
|
39
|
-
475 - 0x7fd7e940c6a0.anonymous.launchd
|
40
|
-
529 - 0x7fd7e940c300.anonymous.Activity Monito
|
41
|
-
1 - 0x7fd7eb1031a0.anonymous.launchd
|
42
|
-
1031 - 0x7fd7eb110410.anonymous.filecoordinatio
|
43
|
-
1 - 0x7fd7eb10d7e0.anonymous.launchd
|
44
|
-
1014 - 0x7fd7eb10d4e0.anonymous.netbiosd
|
45
|
-
- 0 com.apple.coremedia.videodecoder
|
46
|
-
- 0 com.apple.imagekit.xpc.sendapplescriptservice
|
47
|
-
- 0 com.apple.SceneKit.C3DColladaResourcesCoordinator
|
48
|
-
- 0 com.apple.PDFKit.PDFFileRefsValidator
|
49
|
-
1 - 0x7fd7eb107e00.anonymous.launchd
|
50
|
-
475 - 0x7fd7eb102880.anonymous.launchd
|
51
|
-
522 - 0x7fd7eb102570.anonymous.TextWrangler
|
52
|
-
1 - 0x7fd7e9639e30.anonymous.launchd
|
53
|
-
544 - 0x7fd7e963a130.anonymous.com.apple.dock.
|
54
|
-
1 - 0x7fd7e9634cc0.anonymous.launchd
|
55
|
-
475 - 0x7fd7e96349c0.anonymous.launchd
|
56
|
-
534 - 0x7fd7e96346c0.anonymous.Finder
|
57
|
-
1 - 0x7fd7e9407eb0.anonymous.launchd
|
58
|
-
475 - 0x7fd7e9407bb0.anonymous.launchd
|
59
|
-
532 - 0x7fd7e94078b0.anonymous.talagent
|
60
|
-
- 0 com.apple.dock.ecti
|
61
|
-
544 - com.apple.dock.extra
|
62
|
-
1 - 0x7fd7e9630d80.anonymous.launchd
|
63
|
-
475 - 0x7fd7e9630a80.anonymous.launchd
|
64
|
-
531 - 0x7fd7e9630780.anonymous.Dock
|
65
|
-
1 - 0x7fd7eb001800.anonymous.launchd
|
66
|
-
475 - 0x7fd7eb001500.anonymous.launchd
|
67
|
-
480 - 0x7fd7eb006e00.anonymous.distnoted
|
68
|
-
1 - 0x7fd7e961afc0.anonymous.launchd
|
69
|
-
71 - 0x7fd7e9618920.anonymous.loginwindow
|
70
|
-
1 - 0x7fd7e94025d0.anonymous.launchd
|
71
|
-
69 - 0x7fd7e9402220.anonymous.mdmclient
|
72
|
-
10613 - 0x7fd7e9410ab0.anonymous.sudo
|
73
|
-
10614 - 0x7fd7e94081b0.anonymous.launchctl
|
74
|
-
517 - 0x7fd7eb11c590.anonymous.Terminal
|
75
|
-
540 - 0x7fd7eb11c290.anonymous.login
|
76
|
-
541 - 0x7fd7eb11bf90.anonymous.bash
|
77
|
-
3309 - 0x7fd7eb11bc90.anonymous.screen
|
78
|
-
3310 - 0x7fd7eb1195f0.anonymous.screen
|
79
|
-
3486 - 0x7fd7eb106f00.anonymous.login
|
80
|
-
3499 - 0x7fd7eb110d20.anonymous.bash
|
81
|
-
- 0 com.apple.locum.0F2CBFAC-B361-4962-81A1-B8576190F39F
|
82
|
-
- 0 com.apple.xpchelper.59000000-0000-0000-0000-000000000000
|
83
|
-
1793 - com.apple.launchd.peruser.89
|
84
|
-
- 0 com.apple.launchd.peruser.92
|
85
|
-
- 0 com.apple.launchd.peruser.4294967294
|
86
|
-
- 0 com.apple.launchd.peruser.222
|
87
|
-
- 0 com.apple.xpchelper.DE000000-0000-0000-0000-000000000000
|
88
|
-
544 - 0x7fd7e9639b30.anonymous.com.apple.dock.
|
89
|
-
510 - 0x7fd7e94075a0.anonymous.eapolclient
|
90
|
-
- 0 com.apple.xpchelper.6EE3F24B-0000-0000-0000-000000000000
|
91
|
-
475 - com.apple.launchd.peruser.1274209134
|
92
|
-
- 0 com.apple.launchd.peruser.212
|
93
|
-
- 0 com.apple.SecurityAgent.00000000-0000-0000-0000-0000000186A4
|
94
|
-
- 0 com.apple.authorizationhost.00000000-0000-0000-0000-0000000186A4
|
95
|
-
346 - 0x7fd7eb106c00.anonymous.ruby
|
96
|
-
299 - 0x7fd7eb108100.anonymous.iCoreService
|
97
|
-
1 - 0x7fd7eb107b00.anonymous.launchd
|
98
|
-
303 - 0x7fd7eb107500.anonymous.iCorePluginMgr
|
99
|
-
- 0 com.apple.launchd.peruser.0
|
100
|
-
- 0 com.apple.xpchelper.00000000-0000-0000-0000-000000000000
|
101
|
-
- 0 com.openssh.sshd
|
102
|
-
- 0 com.apple.screensharing
|
103
|
-
- 0 com.apple.msrpc.wkssvc
|
104
|
-
- 0 com.apple.msrpc.srvsvc
|
105
|
-
- 0 com.apple.msrpc.netlogon
|
106
|
-
- 0 com.apple.msrpc.mdssvc
|
107
|
-
- 0 com.apple.msrpc.lsarpc
|
108
|
-
- 0 org.x.privileged_startx
|
109
|
-
- 0 org.postfix.master
|
110
|
-
52 - org.ntp.ntpd
|
111
|
-
53 - org.cups.cupsd
|
112
|
-
- 0 com.vix.cron
|
113
|
-
- 0 com.apple.xserve.serial-ports
|
114
|
-
- 0 com.apple.xprotectupdater-init
|
115
|
-
- 252 com.apple.xprotectupdater
|
116
|
-
- 0 com.apple.xpchelper
|
117
|
-
375 - com.apple.WindowServer
|
118
|
-
- 0 com.apple.webdavfs_load_kext
|
119
|
-
- 0 com.apple.warmd
|
120
|
-
- 0 com.apple.vsdbutil
|
121
|
-
- 0 com.apple.var-db-shadow-backup
|
122
|
-
- 0 com.apple.var-db-dslocal-backup
|
123
|
-
- 0 com.apple.UserNotificationCenter
|
124
|
-
11 - com.apple.UserEventAgent-System
|
125
|
-
57 - com.apple.usbmuxd
|
126
|
-
- 0 com.apple.unmountassistant.sysagent
|
127
|
-
- 0 com.apple.uninstalld
|
128
|
-
- 0 com.apple.ucupdate.plist
|
129
|
-
- 0 com.apple.TrustEvaluationAgent.system
|
130
|
-
- 0 com.apple.taskgated
|
131
|
-
- 0 com.apple.taskgated-helper
|
132
|
-
59 - com.apple.SystemStarter
|
133
|
-
- 0 com.apple.systempreferences.writeconfig
|
134
|
-
- 0 com.apple.systempreferences.install
|
135
|
-
- 0 com.apple.systemkeychain
|
136
|
-
17 - com.apple.syslogd
|
137
|
-
- 0 com.apple.suhelperd
|
138
|
-
- 0 com.apple.storereceiptinstaller
|
139
|
-
- 0 com.apple.storeagent
|
140
|
-
- 0 com.apple.store_helper
|
141
|
-
- 0 com.apple.statd.notify
|
142
|
-
61 - com.apple.stackshot
|
143
|
-
- 0 com.apple.spindump_symbolicator
|
144
|
-
- 0 com.apple.spindump
|
145
|
-
- 0 com.apple.smbfs_load_kext
|
146
|
-
- 0 com.apple.smb.preferences
|
147
|
-
- 0 com.apple.shutdown_monitor
|
148
|
-
- 0 com.apple.ServerPerfLog.aslmanager
|
149
|
-
22 - com.apple.securityd
|
150
|
-
- 0 com.apple.SecurityAgent
|
151
|
-
- 0 com.apple.security.syspolicy
|
152
|
-
- 0 com.apple.scsid
|
153
|
-
- 0 com.apple.SCHelper
|
154
|
-
- 0 com.apple.sandboxd
|
155
|
-
- 0 com.apple.rpmuxd
|
156
|
-
- 0 com.apple.rpcbind
|
157
|
-
- 0 com.apple.RFBEventHelper
|
158
|
-
64 - com.apple.revisiond
|
159
|
-
- 0 com.apple.ReportCrash.Root
|
160
|
-
- 0 com.apple.RemoteDesktop.PrivilegeProxy
|
161
|
-
- 0 com.apple.racoon
|
162
|
-
- 0 com.apple.printtool.daemon
|
163
|
-
- 0 com.apple.preferences.timezone.auto
|
164
|
-
- 0 com.apple.preferences.timezone.admintool
|
165
|
-
18 - com.apple.powerd
|
166
|
-
- 0 com.apple.platform.ptmd
|
167
|
-
- 0 com.apple.pfctl
|
168
|
-
- 0 com.apple.periodic-weekly
|
169
|
-
- 0 com.apple.periodic-monthly
|
170
|
-
- 0 com.apple.periodic-daily
|
171
|
-
- 0 com.apple.PCIELaneConfigTool
|
172
|
-
- 0 com.apple.pcastagentconfigd
|
173
|
-
14 - com.apple.opendirectoryd
|
174
|
-
402 - com.apple.ocspd
|
175
|
-
12 - com.apple.notifyd
|
176
|
-
- 0 com.apple.nis.ypbind
|
177
|
-
- 0 com.apple.nfsd
|
178
|
-
- 0 com.apple.newsyslog
|
179
|
-
- 0 com.apple.nlcd
|
180
|
-
1014 - com.apple.netbiosd
|
181
|
-
- 0 com.apple.netauth.sys.gui
|
182
|
-
- 0 com.apple.netauth.sys.auth
|
183
|
-
- 0 com.apple.metadata.mds.spindump
|
184
|
-
- 0 com.apple.metadata.mds.scan
|
185
|
-
68 - com.apple.metadata.mds
|
186
|
-
- 0 com.apple.mDNSResponderHelper
|
187
|
-
13 - com.apple.mDNSResponder
|
188
|
-
69 - com.apple.mdmclient.daemon
|
189
|
-
- 0 com.apple.ManagedClient
|
190
|
-
71 - com.apple.loginwindow
|
191
|
-
446 - com.apple.logind
|
192
|
-
- 0 com.apple.locum
|
193
|
-
- 0 com.apple.lockd
|
194
|
-
- 0 com.apple.locationd
|
195
|
-
- 0 com.apple.locate
|
196
|
-
- 0 com.apple.kuncd
|
197
|
-
10 - com.apple.kextd
|
198
|
-
73 - com.apple.KernelEventAgent
|
199
|
-
- 0 com.apple.Kerberos.kpasswdd
|
200
|
-
74 - com.apple.Kerberos.kdc
|
201
|
-
- 0 com.apple.Kerberos.kcm
|
202
|
-
- 0 com.apple.Kerberos.kadmind
|
203
|
-
- 0 com.apple.Kerberos.digest-service
|
204
|
-
- 0 com.apple.kcproxy
|
205
|
-
- 0 com.apple.installd
|
206
|
-
- 0 com.apple.IFCStart
|
207
|
-
76 - com.apple.hidd
|
208
|
-
- 0 com.apple.hdiejectd
|
209
|
-
- 0 com.apple.gssd
|
210
|
-
20 - com.apple.fseventsd
|
211
|
-
- 0 com.apple.FontWorker
|
212
|
-
- 0 com.apple.fontmover
|
213
|
-
- 0 com.apple.fontd
|
214
|
-
- 0 com.apple.findmymacmessenger
|
215
|
-
- 0 com.apple.findmymacd
|
216
|
-
1031 - com.apple.FileCoordination
|
217
|
-
453 - com.apple.familycontrols
|
218
|
-
- 0 com.apple.efilogin-helper
|
219
|
-
- 0 com.apple.eapolcfg_auth
|
220
|
-
78 - com.apple.dynamic_pager
|
221
|
-
- 0 com.apple.dvdplayback.setregion
|
222
|
-
- 0 com.apple.DumpPanic
|
223
|
-
- 0 com.apple.DumpGPURestart
|
224
|
-
- 0 com.apple.dspluginhelperd
|
225
|
-
- 0 com.apple.dpd
|
226
|
-
19 - com.apple.distnoted.xpc.daemon
|
227
|
-
- 0 com.apple.diskmanagementd
|
228
|
-
15 - com.apple.diskarbitrationd
|
229
|
-
- 0 com.apple.DiagnosticReportCleanUp
|
230
|
-
436 - com.apple.cvmsServ
|
231
|
-
- 0 com.apple.corestorage.corestoragehelperd
|
232
|
-
- 0 com.apple.corestorage.corestoraged
|
233
|
-
27 - com.apple.coreservicesd
|
234
|
-
- 0 com.apple.coreservices.appleid.passwordcheck
|
235
|
-
- 0 com.apple.CoreRAID
|
236
|
-
- 0 com.apple.configureLocalKDC
|
237
|
-
16 - com.apple.configd
|
238
|
-
2814 - com.apple.cmio.VDCAssistant
|
239
|
-
- 0 com.apple.cmio.IIDCVideoAssistant
|
240
|
-
- 0 com.apple.cmio.AVCAssistant
|
241
|
-
- 0 com.apple.bsd.launchdadd
|
242
|
-
- 0 com.apple.bsd.dirhelper
|
243
|
-
- 0 com.apple.bnepd
|
244
|
-
23 - com.apple.blued
|
245
|
-
- 0 com.apple.backupd
|
246
|
-
- 0 com.apple.awacsd
|
247
|
-
- 0 com.apple.avbdeviced
|
248
|
-
- 0 com.apple.automountd
|
249
|
-
83 - com.apple.autofsd
|
250
|
-
- 0 com.apple.authorizationhost
|
251
|
-
- 0 com.apple.auditd
|
252
|
-
450 - com.apple.audio.coreaudiod
|
253
|
-
- 0 com.apple.aslmanager
|
254
|
-
- 0 com.apple.applepushserviced
|
255
|
-
- 0 com.apple.appleprofilepolicyd
|
256
|
-
- 0 com.apple.AOSNotification-FMM
|
257
|
-
- 0 com.apple.alf
|
258
|
-
- 0 com.apple.airport.updateprefs
|
259
|
-
- 0 com.apple.airportd
|
260
|
-
- 0 com.apple.AirPort.wps
|
261
|
-
- 0 com.apple.afpfs_checkafp
|
262
|
-
- 0 com.apple.afpfs_afpLoad
|
263
|
-
1048 - com.apple.ActivityMonitor
|
264
|
-
86 - com.trusteer.rooks.rooksd
|
265
|
-
- 0 com.trendmicro.mpm.icore.agent
|
266
|
-
463 - com.snowsoftware.Metering
|
267
|
-
- 0 com.snowsoftware.Inventory
|
268
|
-
- 0 com.SFDC.CE.WirelessFix
|
269
|
-
- 0 com.SFDC.CE.JavaAppletMonitor
|
270
|
-
- 0 com.oracle.java.Helper-Tool
|
271
|
-
- 0 com.nomachine.server
|
272
|
-
- 0 com.microsoft.office.licensing.helper
|
273
|
-
- 1 com.leapmotion.leapd
|
274
|
-
- 0 com.jamfsoftware.task.Every 30 Minutes
|
275
|
-
94 - com.jamfsoftware.jamf.daemon
|
276
|
-
95 - com.GSI.Servlet
|
277
|
-
- 0 com.google.keystone.daemon
|
278
|
-
96 - com.crashplan.engine
|
279
|
-
97 - com.cisco.anyconnect.vpnagentd
|
280
|
-
98 - com.checkpoint.launchd.ppcd
|
281
|
-
99 - com.bjango.istatmenusdaemon
|
282
|
-
- 0 com.apple.RemotePairTool
|
283
|
-
- 0 com.adobe.fpsaud
|
284
|
-
100 - com.bigfix.BESAgent
|
285
|
-
- 0 com.apple.launchctl.System
|