This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GPGKey.query(function(gpgKeys) { | |
expect(gpgKeys.records.length).toBe(1); | |
}); | |
or | |
GPGKey.query().then(function(gpgKeys) { | |
expect(gpgKeys.records.length).toBe(1); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original: | |
class { '::certs::pulp_parent': } ~> | |
class { 'pulp': | |
oauth_key => $katello::oauth_key, | |
oauth_secret => $katello::oauth_secret, | |
messaging_url => 'ssl://localhost:5671', | |
before => Exec['foreman-rake-db:seed'] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
organization = Organization.find(taxonomies(:organization1)) | |
organization.label = organization.name | |
organization.save! | |
leads to ---> | |
ActiveRecord::RecordInvalid: Validation failed: Domains You cannot remove domains that are used by hosts., Compute resources You cannot remove compute resources that are used by hosts., Smart proxies You cannot remove smart proxies that are used by hosts., Users You cannot remove users that are used by hosts., Config templates You cannot remove config templates that are used by hosts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Katello | |
module Authorization | |
module PuppetModule | |
extend ActiveSupport::Concern | |
module ClassMethods | |
def readable?(environment, repo = nil) | |
if repo | |
repo.environment.contents_readable? && repo.product.readable? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xe | |
# Only Foreman itself is SCL | |
scl="nonscl" | |
[ ${project} = katello ] && scl="scl" | |
git config -f .git/config user.name Jenkins | |
git config -f .git/config user.email packaging@theforeman.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forge 'http://forge.puppetlabs.com' | |
################################################################# | |
# The Foreman part of Puppetfile (taken from foreman-installer # | |
################################################################# | |
# Temporary for Apache 2.4 support (post-0.11.0) | |
mod 'puppetlabs/apache', :git => 'https://github.com/puppetlabs/puppetlabs-apache', :ref => '0.11.0' | |
# Temporary for Amazon Linux support (https://github.com/puppetlabs/puppetlabs-xinetd/issues/32) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking puppetlabs/stdlib/4.1.0 <http://forge.puppetlabs.com> | |
[Librarian] Conflict between puppetlabs/apache (~> 0.10) <http://forge.puppetlabs.com> and puppetlabs/apache/1.0.1 <https://github> | |
[Librarian] Backtracking from puppetlabs/stdlib/4.1.0 <http://forge.puppetlabs.com> | |
[Librarian] Checking puppetlabs/stdlib/3.2.1 <http://forge.puppetlabs.com> | |
[Librarian] Conflict between puppetlabs/apache (~> 0.10) <http://forge.puppetlabs.com> and pupp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forge 'http://forge.puppetlabs.com' | |
################################################################# | |
# The Foreman part of Puppetfile (taken from foreman-installer # | |
################################################################# | |
# Temporary for Amazon Linux support (https://github.com/puppetlabs/puppetlabs-xinetd/issues/32) | |
mod 'puppetlabs/xinetd', :git => 'https://github.com/puppetlabs/puppetlabs-xinetd' | |
# Dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Rake[foreman-rake-db:seed]/command: command changed '' to '/usr/sbin/foreman-rake db:seed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initialier "staypuft.add_namespaced_assets" do |app| | |
app.config.assets.paths << "#{Staypuft::Engine.root}/app/assets/stylesheets/staypuft" | |
end |
OlderNewer