Skip to content

Commit

Permalink
set package_ensure
Browse files Browse the repository at this point in the history
  • Loading branch information
C24-AK committed Oct 23, 2023
1 parent 18c9eff commit d954f66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/acceptance/nginx_mail_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
class { 'nginx':
mail => true,
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",

Check failure on line 43 in spec/acceptance/nginx_mail_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/RedundantStringEscape: Redundant escape of $ inside string literal.
package_source => 'nginx-mainline',
manage_repo => true,
dynamic_modules => fact('os.family') ? {
Expand Down
4 changes: 4 additions & 0 deletions spec/acceptance/nginx_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",

Check failure on line 11 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/RedundantStringEscape: Redundant escape of $ inside string literal.
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down Expand Up @@ -63,6 +64,7 @@ class { 'nginx':
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",

Check failure on line 67 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/RedundantStringEscape: Redundant escape of $ inside string literal.
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down Expand Up @@ -131,6 +133,7 @@ class { 'nginx':
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",

Check failure on line 136 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/RedundantStringEscape: Redundant escape of $ inside string literal.
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down Expand Up @@ -185,6 +188,7 @@ class { 'nginx':
pp = "
class { 'nginx':
nginx_version => '1.25.1',
package_ensure => \"1.25.1-1~\${facts['os']['distro']['codename']}\",

Check failure on line 191 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/RedundantStringEscape: Redundant escape of $ inside string literal.
package_source => 'nginx-mainline',
manage_repo => true,
}
Expand Down

0 comments on commit d954f66

Please sign in to comment.