Devel #128
Annotations
20 errors and 4 warnings
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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"=>
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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"
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 7:
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
|
Run unit tests on Puppet 8:
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"
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 8:
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"=>
|
Run unit tests on Puppet 8:
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
|
Run unit tests on Puppet 7:
spec/defines/puppi_spec.rb#L8
tp::puppi on centos-7-x86_64
Skipped: No reason given
|
Run unit tests on Puppet 7:
spec/defines/puppi_spec.rb#L8
tp::puppi on ubuntu-16.04-x86_64
Skipped: No reason given
|
Run unit tests on Puppet 8:
spec/defines/puppi_spec.rb#L8
tp::puppi on centos-7-x86_64
Skipped: No reason given
|
Run unit tests on Puppet 8:
spec/defines/puppi_spec.rb#L8
tp::puppi on ubuntu-16.04-x86_64
Skipped: No reason given
|
The logs for this run have expired and are no longer available.
Loading