Questions tagged [pallet]

Pallet is a Clojure-based platform for building automated infrastructure deployment tools.

Pallet is a framework for building automated deployment tools in Clojure. It support both provisioning and server configuration from the same tool. Provisioning is provided primarily via jclouds (though there is also support vmfest and a couple other ways to deploy locally) and can be done in a cloud-agnostic way so that the same Pallet code can be used with multiple cloud providers. Configuration requires no special tooling on the server, only ssh access and a shell.

36 questions
4
votes
1 answer

Get ec2 dns name via pallet

I get back a list of ec2 nodes using pallet. I want to get the dns names of these. I see that in jclouds there is a dnsName method, but I see no way to access this for use with pallet in clojure. Is this possible? Details I'm trying to make a…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
3
votes
1 answer

aws-ec2 - you are not authorized to perform this operation

I am least familiar with aws etc. What am trying to do is upload a small war file to s3 bucket using s3-bash and PalletOps at the moment. For that, I have a clojure config file configured as (defpallet :default-service :vmfest …
prayagupa
  • 30,204
  • 14
  • 155
  • 192
3
votes
1 answer

deploy java maven project to ec2 with pallet?

I'm wondering exactly how I would set this up. I have a normal java/tomcat/mysql app, and I want to deploy to EC2. I'd like to use pallet to provision the box, configure it, and deploy my war there. I'm hoping I can do this via a maven plugin? I…
Kevin
  • 24,871
  • 19
  • 102
  • 158
2
votes
2 answers

expected usage of pallet from lein

I was reading about pallet here: http://twoguysarguing.wordpress.com/2010/11/01/starting-a-cluster-on-ec2-with-pallet/, as well as on the pallet site: http://palletops.com/. I'm still a little confused. The examples are arranged as if I'm expected…
Kevin
  • 24,871
  • 19
  • 102
  • 158
2
votes
1 answer

Launch an existing EC2 instance using Clojure and Pallet

I have a few EC2 instances on AWS that are in a suspended state. I'd like to use pallet to start them up from a Clojure program (and ultimately put them back into suspend). I'm not finding how to do this anywhere in the docs or examples. I've been…
Dave Kincaid
  • 3,970
  • 3
  • 24
  • 32
2
votes
1 answer

/var/cache/debconf/config.dat-new: Permission denied

I'm getting debconf: DbDriver \"passwords\" warning: could not open /var/cache/debconf/passwords.dat: Permission denied\ndebconf: DbDriver \"config\": could not write /var/cache/debconf/config.dat-new: Permission denied\n#> [packages]: Packages :…
deadghost
  • 5,017
  • 3
  • 34
  • 46
1
vote
2 answers

Cant find Icons in material pallete-com

I'm searching for some icons for a flutter app. materialappPallete.com was introduced to me. but I can't find any icon part in. please guide me how can I have access to the icon part? thanks
user20019751
1
vote
1 answer

Changing the colour palette based on quantile values in pheatmap

enter image description hereI am very new to R and I am trying to make a pheatmap out of my data. I just copied some existing code included in a tutorial and it seems it pretty nicely fitted to my data after some tweaking. I also included some…
1
vote
1 answer

Get system time in scope of substrate pallet

I am trying to get system time in scope of the extrinsic call execution of the substrate pallet. It should work independent on target arch (wasm, unix, etc.) and build mode (std, no_std) Using std::time::SystemTime, chrono or wasm-timer libraries…
user1051417
  • 43
  • 1
  • 1
  • 3
1
vote
0 answers

EVM parameter Source

I'm new at substrate and pallets. I have installed the frontier node (Frontier) and I need to use pallet_evm to upload smart contracts at the blockchain. The function create have 6 parameters (Source, Init, Value, Gas_limit, Gas_price and…
1
vote
1 answer

Why blocks dont finalized

We have substrate node with babe + grandpa consensus. We tried to run it on different computers and create a network. Everything works if we use the pre-installed accounts of Alice and Bob. We are trying to create our own config with our own keys.…
Daelon
  • 33
  • 4
1
vote
1 answer

What does Something get(fn something): Option; mean in Rust?

I cloned this template. There is a code like this: decl_storage! { trait Store for Module as TemplateModule { Something get(fn something): Option; } } What does Something get(fn something): Option;…
1
vote
1 answer

How do I configure sshd_config

So I have an ubuntu vm with ssh set up. Pallet can ssh in, install packages and run scripts which is handy dandy; however, how do I configure my sshd_config using pallet? pallet.crate.ssh-key has a nice function aptly named config that configures…
deadghost
  • 5,017
  • 3
  • 34
  • 46
1
vote
1 answer

Test Session for pallet

Is there a way of testing pallet crates? I am trying to build an elasticsearch crate but each time I want to test something is working I need to start a machine and wait for everything to install etc. Possibly a way to just see what commands would…
shmish111
  • 3,697
  • 5
  • 30
  • 52
1
vote
1 answer

Is there a guide to using pallet.crate.service

I want to start the elasticsearch service on a machine, originally I was going to do this using pallet.actions.service but the documentation says this is now deprecated in favour of pallet.crate.service/service. However I cannot find any guide to…
shmish111
  • 3,697
  • 5
  • 30
  • 52
1
2 3