Skip to content

Devel

Devel #128

Triggered via pull request October 19, 2023 21:35
@alvagantealvagante
synchronize #114
devel
Status Success
Total duration 7m 31s
Artifacts

pr.yml

on: pull_request
Static code analysys
33s
Static code analysys
Unit tests
7m 20s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app rsyslog is expected to run tp_lookup("rsyslog", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/default/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslogd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("rsyslog", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/default/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslogd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purg
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app openssh is expected to run tp_lookup("openssh", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"openssh-server", "service_name"=>"ssh", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile", "init_file_path"=>"/var/default/ssh"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("openssh", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"openssh-server", "service_name"=>"ssh", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile", "init_file_path"=>"/var/default/ssh"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "c
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app elasticsearch is expected to run tp_lookup("elasticsearch", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_file_path"=>"/etc/default/elasticsearch", "tp_prerequisites"=>{"elastic_repo"=>{}}} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("elasticsearch", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_f
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app sysdig is expected to run tp_lookup("sysdig", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/deb", "key"=>"D27A 72F3 2D86 7DF9 300A 2415 7449 0FD6 EC51 E8C4", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "apt_release"=>"stable-$(ARCH)/"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("sysdig", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/deb", "key"=>"D27A 72F3 2D86 7DF9 300A 2415 7449 0FD6 EC51 E8C4", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "apt_release"=>"stable-$(ARCH)/"} instead of {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>false, "install_method"=>"package", "packages"=>{"devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app icinga2 is expected to run tp_lookup("icinga2", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/default/icinga2"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("icinga2", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/default/icinga2"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "confi
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app rsyslog is expected to run tp_lookup("rsyslog", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/sysconfig/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslog.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("rsyslog", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/sysconfig/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslog.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app openssh is expected to run tp_lookup("openssh", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0600", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"openssh-server", "service_name"=>"sshd", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("openssh", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0600", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"openssh-server", "service_name"=>"sshd", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0600", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>false, "install_method"=>"packa
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app elasticsearch is expected to run tp_lookup("elasticsearch", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_file_path"=>"/etc/sysconfig/elasticsearch", "tp_prerequisites"=>{"elastic_repo"=>{}}} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("elasticsearch", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_file_pa
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app sysdig is expected to run tp_lookup("sysdig", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/rpm/$basearch", "key"=>"F1C3BD80", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "tp_prerequisites"=>["dkms"]} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("sysdig", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/rpm/$basearch", "key"=>"F1C3BD80", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "tp_prerequisites"=>["dkms"]} instead of {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>false, "install_method"=>"package", "packages"=>{"devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owne
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app icinga2 is expected to run tp_lookup("icinga2", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"icinga", "config_file_group"=>"root", "config_file_mode"=>"0640", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/sysconfig/icinga2", "repo_package_name"=>"icinga-rpm-release", "tp_prerequisites"=>["epel"]} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("icinga2", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"icinga", "config_file_group"=>"root", "config_file_mode"=>"0640", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/sysconfig/icinga2", "repo_package_name"=>"icinga-rpm-release", "tp_prerequisites"=>["epel"]} instead
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app rsyslog is expected to run tp_lookup("rsyslog", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/sysconfig/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslog.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("rsyslog", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/sysconfig/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslog.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app openssh is expected to run tp_lookup("openssh", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0600", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"openssh-server", "service_name"=>"sshd", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("openssh", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0600", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"openssh-server", "service_name"=>"sshd", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/messages", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0600", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>false, "install_method"=>"packa
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app elasticsearch is expected to run tp_lookup("elasticsearch", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_file_path"=>"/etc/sysconfig/elasticsearch", "tp_prerequisites"=>{"elastic_repo"=>{}}} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("elasticsearch", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_file_pa
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app sysdig is expected to run tp_lookup("sysdig", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/rpm/$basearch", "key"=>"F1C3BD80", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "tp_prerequisites"=>["dkms"]} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("sysdig", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/rpm/$basearch", "key"=>"F1C3BD80", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "tp_prerequisites"=>["dkms"]} instead of {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>false, "install_method"=>"package", "packages"=>{"devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owne
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on redhat-8-x86_64 with app icinga2 is expected to run tp_lookup("icinga2", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"icinga", "config_file_group"=>"root", "config_file_mode"=>"0640", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/sysconfig/icinga2", "repo_package_name"=>"icinga-rpm-release", "tp_prerequisites"=>["epel"]} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("icinga2", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"icinga", "config_file_group"=>"root", "config_file_mode"=>"0640", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"rpm", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"rpm"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/sysconfig/icinga2", "repo_package_name"=>"icinga-rpm-release", "tp_prerequisites"=>["epel"]} instead
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app rsyslog is expected to run tp_lookup("rsyslog", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/default/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslogd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("rsyslog", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"rsyslog", "service_name"=>"rsyslog", "config_file_path"=>"/etc/rsyslog.conf", "config_dir_path"=>"/etc/rsyslog.d", "conf_dir_path"=>"/etc/rsyslog.d", "data_dir_path"=>"/var/log", "init_file_path"=>"/etc/default/rsyslog", "udp_port"=>"69", "pid_file_path"=>"/var/run/rsyslogd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"rsyslogd", "process_user"=>"root", "process_group"=>"root", "version_command"=>"rsyslogd -v"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purg
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app openssh is expected to run tp_lookup("openssh", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"openssh-server", "service_name"=>"ssh", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile", "init_file_path"=>"/var/default/ssh"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("openssh", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"openssh-server", "service_name"=>"ssh", "config_file_path"=>"/etc/ssh/sshd_config", "config_dir_path"=>"/etc/ssh", "tcp_port"=>"22", "pid_file_path"=>"/var/run/sshd.pid", "log_file_path"=>"/var/log/syslog", "process_name"=>"sshd", "process_user"=>"root", "process_group"=>"root", "nodaemon_args"=>"-D", "validate_cmd"=>"sshd -t -f %", "version_command"=>"ssh -V", "config_file_format"=>"inifile", "init_file_path"=>"/var/default/ssh"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "c
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app elasticsearch is expected to run tp_lookup("elasticsearch", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_file_path"=>"/etc/default/elasticsearch", "tp_prerequisites"=>{"elastic_repo"=>{}}} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("elasticsearch", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"elasticsearch", "service_name"=>"elasticsearch", "config_file_path"=>"/etc/elasticsearch/elasticsearch.yml", "config_file_format"=>"yaml", "config_dir_path"=>"/etc/elasticsearch", "pid_file_path"=>"/var/run/elasticsearch.pid", "log_file_path"=>"/var/log/elasticsearch/elasticsearch.log", "log_dir_path"=>"/var/log/elasticsearch", "data_dir_path"=>"/var/lib/elasticsearch", "process_name"=>"java", "process_extra_name"=>"elasticsearch", "process_user"=>"elasticsearch", "process_group"=>"elasticsearch", "tcp_port"=>"9200", "init_f
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app sysdig is expected to run tp_lookup("sysdig", "settings", "tinydata", "merge") and return {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/deb", "key"=>"D27A 72F3 2D86 7DF9 300A 2415 7449 0FD6 EC51 E8C4", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "apt_release"=>"stable-$(ARCH)/"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("sysdig", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"sysdig", "repo_url"=>"http://download.draios.com/stable/deb", "key"=>"D27A 72F3 2D86 7DF9 300A 2415 7449 0FD6 EC51 E8C4", "key_url"=>"https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public", "apt_release"=>"stable-$(ARCH)/"} instead of {"upstream_repo"=>true, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>false, "install_method"=>"package", "packages"=>{"devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>
Unit tests: spec/functions/tp_lookup_spec.rb#L24
tp_lookup on ubuntu-22.04-x86_64 with app icinga2 is expected to run tp_lookup("icinga2", "settings", "tinydata", "merge") and return {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/default/icinga2"} Failure/Error: it { is_expected.to run.with_params(app,'settings','tinydata','merge').and_return(appdata) } expected tp_lookup("icinga2", "settings", "tinydata", "merge") to have returned {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "config_file_group"=>"root", "config_file_mode"=>"0644", "config_dir_owner"=>"root", "config_dir_group"=>"root", "config_dir_mode"=>"0644", "config_dir_purge"=>false, "config_dir_recurse"=>true, "install_method"=>"package", "packages"=>{"main"=>{"ensure"=>"present", "source"=>nil, "install_options"=>[], "params"=>{}, "providers"=>{}, "manage"=>true}, "devel"=>{"name"=>"$TITLE-devel", "ensure"=>"present", "manage"=>false}, "doc"=>{"name"=>"$TITLE-doc", "ensure"=>"present", "manage"=>false}, "libs"=>{"name"=>"$TITLE-libs", "ensure"=>"present", "manage"=>false}}, "services"=>{"main"=>{"process_user"=>"root", "process_group"=>"root", "ensure"=>"running", "enable"=>true, "params"=>{}}}, "files"=>{"config"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644"}, "init"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile"}, "systemd"=>{"owner"=>"root", "group"=>"root", "mode"=>"0644", "format"=>"inifile_with_stanzas"}}, "dirs"=>{"config"=>{"owner"=>"root", "group"=>"root"}, "conf"=>{"owner"=>"root", "group"=>"root"}}, "repo_package_provider"=>"dpkg", "init_system"=>"systemd", "repos"=>{"default"=>{"package_provider"=>"dpkg"}}, "package_name"=>"icinga2", "service_name"=>"icinga2", "config_file_path"=>"/etc/icinga2/icinga2.conf", "config_dir_path"=>"/etc/icinga2", "conf_dir_path"=>"/etc/icinga2/conf.d", "features_dir_path"=>"/etc/icinga2/features-enabled", "pid_file_path"=>"/var/run/icinga2/icinga2.pid", "log_file_path"=>["/var/log/icinga2/icinga2.log", "/var/log/icinga2/error.log"], "log_dir_path"=>"/var/log/icinga2", "process_name"=>"icinga2", "process_user"=>"icinga", "process_group"=>"icinga", "init_file_path"=>"/etc/default/icinga2"} instead of {"upstream_repo"=>false, "package_ensure"=>"present", "service_ensure"=>"running", "service_enable"=>true, "config_file_owner"=>"root", "confi
Unit tests: spec/defines/puppi_spec.rb#L8
tp::puppi on centos-7-x86_64 Skipped: No reason given
Unit tests: spec/defines/puppi_spec.rb#L8
tp::puppi on ubuntu-16.04-x86_64 Skipped: No reason given
Unit tests: spec/defines/puppi_spec.rb#L8
tp::puppi on centos-7-x86_64 Skipped: No reason given
Unit tests: spec/defines/puppi_spec.rb#L8
tp::puppi on ubuntu-16.04-x86_64 Skipped: No reason given