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
sequelize = new Sequelize({'database_name', null, null, | |
dialect: 'postgres', | |
native: true, | |
protocol: 'postgresql', | |
host: null, | |
port: null, | |
}) |
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
# Yes, you can put Moose classes in the same source file as your mainline code, rather than doing the CPAN-standard of one class per module. | |
# However, you must place the class definitions above the uses of the classes. | |
package Point; | |
use Moose; | |
has 'x' => ( isa => 'Int', is => 'rw' ); | |
has 'y' => ( isa => 'Int', is => 'rw' ); | |
__PACKAGE__->meta->make_immutable; |
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
#!/usr/bin/env bash | |
set -o errtrace | |
set -o errexit | |
facter_version=$1 | |
puppet_version=$2 | |
target_volume=$3 |